]> sjero.net Git - wget/commitdiff
[svn] Remove implicit declaration warnings.
authorhniksic <devnull@localhost>
Thu, 29 Nov 2001 18:22:18 +0000 (10:22 -0800)
committerhniksic <devnull@localhost>
Thu, 29 Nov 2001 18:22:18 +0000 (10:22 -0800)
src/ChangeLog
src/connect.h
src/gen_sslfunc.c
src/rbuf.c
src/retr.c

index e157e1098442399eba5f42cf2614f8290b1986cf..630ef7e2815ee536f390ac58fc485d07f4ddc431 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-29  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * connect.h: Declare select_fd.
+
 2001-11-29  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * recur.c (descend_url_p): When resolving no_parent, compare with
index e96748028b9ad21e07e6efe0a7d7bf0cb5a881f3..1924cba3fc63ddc4174033c7bbbd45ab0d74eb21 100644 (file)
@@ -29,6 +29,7 @@ int connect_to_many PARAMS ((struct address_list *, unsigned short, int));
 void set_connection_host_name PARAMS ((const char *));
 
 int test_socket_open PARAMS ((int));
+int select_fd PARAMS ((int, int, int));
 uerr_t bindport PARAMS ((unsigned short *));
 uerr_t acceptport PARAMS ((int *));
 void closeport PARAMS ((int));
index 247cbf465abcf29cb2a516e3fe3eb55c9e151bb5..20fd53d71b22adb7b913a93628219f01c3db68d2 100644 (file)
@@ -24,6 +24,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <assert.h>
 #include <errno.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 
 #include <openssl/bio.h>
 #include <openssl/crypto.h>
index b04c2aeefecc7a48e76bb0ed3453a87b2dfc877a..9931998c917adf9c0ee5bc11cac217eb86c92bda 100644 (file)
@@ -34,6 +34,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <openssl/ssl.h>
 #include <openssl/err.h>
 #include <openssl/pem.h>
+#include "gen_sslfunc.h"       /* for ssl_iread */
 #endif /* HAVE_SSL */
 
 void
index 94fa97b2d76e1d87bbec6fd964a044a7cec40f6c..858226799194df2f7350424c89fdb02cb353f98d 100644 (file)
@@ -44,6 +44,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "connect.h"
 #include "hash.h"
 
+#ifdef HAVE_SSL
+# include "gen_sslfunc.h"      /* for ssl_iread */
+#endif
+
 #ifndef errno
 extern int errno;
 #endif