Add/update copyright notice in all source code files.
[mmh] / uip / ftpsbr.c
index d36e0e5..9c118a5 100644 (file)
@@ -3,6 +3,10 @@
  * ftpsbr.c -- simple FTP client library
  *
  * $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
  */
 
 #include <h/mh.h>
@@ -27,16 +31,15 @@ extern int v_verbose;
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
+#include <errno.h>
 
-#if defined(BIND) && !defined(h_addr)
+#if !defined(h_addr)
 # define h_addr        h_addr_list[0]
 #endif
 
 #define        inaddr_copy(hp,sin) \
     memcpy((char *) &((sin)->sin_addr), (hp)->h_addr, (hp)->h_length)
 
-extern int errno;
-
 #define        start_tcp_client(sock,priv) \
        socket (AF_INET, SOCK_STREAM, 0)