Loading lib/hostip.h +12 −2 Original line number Diff line number Diff line Loading @@ -26,6 +26,10 @@ #include "setup.h" #include "hash.h" #ifdef HAVE_SETJMP_H #include <setjmp.h> #endif #ifdef NETWARE #undef in_addr_t #define in_addr_t unsigned long Loading Loading @@ -287,7 +291,13 @@ void Curl_destroy_thread_data(struct Curl_async *async); #define CURL_INADDR_NONE INADDR_NONE #endif #ifdef HAVE_SIGSETJMP /* Forward-declaration of variable defined in hostip.c. Beware this * is a global and unique instance. This is used to store the return * address that we can jump back to from inside a signal handler. * This is not thread-safe stuff. */ extern sigjmp_buf curl_jmpenv; #endif #endif lib/url.c +0 −4 Original line number Diff line number Diff line Loading @@ -184,10 +184,6 @@ static void flush_cookies(struct SessionHandle *data, int cleanup); #ifndef WIN32 /* not for WIN32 builds */ #ifdef HAVE_SIGSETJMP extern sigjmp_buf curl_jmpenv; #endif #ifdef SIGALRM static RETSIGTYPE alarmfunc(int sig) Loading tests/libtest/first.c +0 −3 Original line number Diff line number Diff line Loading @@ -16,9 +16,6 @@ extern void curl_memdebug(const char *); extern void curl_memlimit(int); #endif /* test is provided in the test code file */ int test(char *url); int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, struct timeval *tv) { Loading tests/libtest/test.h +5 −4 Original line number Diff line number Diff line Loading @@ -43,8 +43,9 @@ extern char *libtest_arg3; /* set by first.c to the argv[3] or NULL */ extern int test_argc; extern char **test_argv; int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, extern int select_test(int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, struct timeval *tv); int test(char *URL); /* the actual test function provided by each individual libXXX.c file */ extern int test(char *URL); /* the actual test function provided by each individual libXXX.c file */ tests/server/sws.c +4 −4 Original line number Diff line number Diff line Loading @@ -108,8 +108,8 @@ struct httprequest { bool pipelining; /* true if request is pipelined */ }; int ProcessRequest(struct httprequest *req); void storerequest(char *reqbuf, ssize_t totalsize); static int ProcessRequest(struct httprequest *req); static void storerequest(char *reqbuf, ssize_t totalsize); #define DEFAULT_PORT 8999 Loading Loading @@ -191,7 +191,7 @@ static void sigpipe_handler(int sig) } #endif int ProcessRequest(struct httprequest *req) static int ProcessRequest(struct httprequest *req) { char *line=&req->reqbuf[req->checkindex]; bool chunked = FALSE; Loading Loading @@ -482,7 +482,7 @@ int ProcessRequest(struct httprequest *req) } /* store the entire request in a file */ void storerequest(char *reqbuf, ssize_t totalsize) static void storerequest(char *reqbuf, ssize_t totalsize) { int res; int error; Loading Loading
lib/hostip.h +12 −2 Original line number Diff line number Diff line Loading @@ -26,6 +26,10 @@ #include "setup.h" #include "hash.h" #ifdef HAVE_SETJMP_H #include <setjmp.h> #endif #ifdef NETWARE #undef in_addr_t #define in_addr_t unsigned long Loading Loading @@ -287,7 +291,13 @@ void Curl_destroy_thread_data(struct Curl_async *async); #define CURL_INADDR_NONE INADDR_NONE #endif #ifdef HAVE_SIGSETJMP /* Forward-declaration of variable defined in hostip.c. Beware this * is a global and unique instance. This is used to store the return * address that we can jump back to from inside a signal handler. * This is not thread-safe stuff. */ extern sigjmp_buf curl_jmpenv; #endif #endif
lib/url.c +0 −4 Original line number Diff line number Diff line Loading @@ -184,10 +184,6 @@ static void flush_cookies(struct SessionHandle *data, int cleanup); #ifndef WIN32 /* not for WIN32 builds */ #ifdef HAVE_SIGSETJMP extern sigjmp_buf curl_jmpenv; #endif #ifdef SIGALRM static RETSIGTYPE alarmfunc(int sig) Loading
tests/libtest/first.c +0 −3 Original line number Diff line number Diff line Loading @@ -16,9 +16,6 @@ extern void curl_memdebug(const char *); extern void curl_memlimit(int); #endif /* test is provided in the test code file */ int test(char *url); int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, struct timeval *tv) { Loading
tests/libtest/test.h +5 −4 Original line number Diff line number Diff line Loading @@ -43,8 +43,9 @@ extern char *libtest_arg3; /* set by first.c to the argv[3] or NULL */ extern int test_argc; extern char **test_argv; int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, extern int select_test(int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, struct timeval *tv); int test(char *URL); /* the actual test function provided by each individual libXXX.c file */ extern int test(char *URL); /* the actual test function provided by each individual libXXX.c file */
tests/server/sws.c +4 −4 Original line number Diff line number Diff line Loading @@ -108,8 +108,8 @@ struct httprequest { bool pipelining; /* true if request is pipelined */ }; int ProcessRequest(struct httprequest *req); void storerequest(char *reqbuf, ssize_t totalsize); static int ProcessRequest(struct httprequest *req); static void storerequest(char *reqbuf, ssize_t totalsize); #define DEFAULT_PORT 8999 Loading Loading @@ -191,7 +191,7 @@ static void sigpipe_handler(int sig) } #endif int ProcessRequest(struct httprequest *req) static int ProcessRequest(struct httprequest *req) { char *line=&req->reqbuf[req->checkindex]; bool chunked = FALSE; Loading Loading @@ -482,7 +482,7 @@ int ProcessRequest(struct httprequest *req) } /* store the entire request in a file */ void storerequest(char *reqbuf, ssize_t totalsize) static void storerequest(char *reqbuf, ssize_t totalsize) { int res; int error; Loading