Permalink
Browse files

stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in s…

…etup_once.h
  • Loading branch information...
yangtse committed Jul 26, 2011
1 parent 983f3d7 commit f1586cb4775681810afd8e6626e7842d459f3b85
Showing with 50 additions and 369 deletions.
  1. +0 −6 lib/asyn-ares.c
  2. +0 −6 lib/asyn-thread.c
  3. +1 −3 lib/axtls.c
  4. +0 −3 lib/base64.c
  5. +0 −6 lib/connect.c
  6. +0 −3 lib/content_encoding.c
  7. +0 −3 lib/cookie.c
  8. +0 −1 lib/curl_addrinfo.c
  9. +1 −0 lib/curl_threads.c
  10. +1 −4 lib/cyassl.c
  11. +0 −7 lib/dict.c
  12. +0 −7 lib/easy.c
  13. +1 −4 lib/escape.c
  14. +0 −6 lib/file.c
  15. +0 −1 lib/fileinfo.c
  16. +1 −4 lib/formdata.c
  17. +0 −5 lib/ftp.c
  18. +0 −4 lib/getenv.c
  19. +0 −4 lib/getinfo.c
  20. +0 −7 lib/gopher.c
  21. +2 −3 lib/gtls.c
  22. +0 −3 lib/hash.c
  23. +0 −6 lib/hostasyn.c
  24. +0 −6 lib/hostip.c
  25. +0 −6 lib/hostip4.c
  26. +0 −6 lib/hostip6.c
  27. +0 −6 lib/hostsyn.c
  28. +0 −6 lib/http.c
  29. +1 −6 lib/http_chunks.c
  30. +1 −6 lib/http_digest.c
  31. +1 −6 lib/http_negotiate.c
  32. +1 −6 lib/http_negotiate_sspi.c
  33. +1 −8 lib/http_ntlm.c
  34. +1 −0 lib/http_proxy.c
  35. +11 −11 lib/idn_win32.c
  36. +0 −5 lib/imap.c
  37. +0 −1 lib/inet_ntop.c
  38. +0 −1 lib/inet_pton.c
  39. +0 −2 lib/krb4.c
  40. +0 −2 lib/krb5.c
  41. +0 −7 lib/ldap.c
  42. +0 −3 lib/llist.c
  43. +0 −1 lib/md4.c
  44. +0 −2 lib/md5.c
  45. +0 −4 lib/memdebug.c
  46. +3 −4 lib/memdebug.h
  47. +0 −5 lib/mprintf.c
  48. +0 −4 lib/netrc.c
  49. +0 −3 lib/nonblock.c
  50. +0 −3 lib/nss.c
  51. +2 −4 lib/nwlib.c
  52. +3 −10 lib/nwos.c
  53. +1 −7 lib/parsedate.c
  54. +4 −6 lib/pingpong.h
  55. +1 −3 lib/polarssl.c
  56. +0 −5 lib/pop3.c
  57. +2 −1 lib/qssl.c
  58. +0 −3 lib/security.c
  59. +0 −5 lib/sendf.c
  60. +1 −3 lib/share.c
  61. +0 −5 lib/slist.c
  62. +0 −5 lib/smtp.c
  63. +0 −4 lib/socks.c
  64. +0 −5 lib/socks_gssapi.c
  65. +0 −7 lib/socks_sspi.c
  66. +0 −3 lib/speedcheck.c
  67. +0 −5 lib/ssh.c
  68. +0 −3 lib/sslgen.c
  69. +0 −3 lib/ssluse.c
  70. +1 −0 lib/strdup.c
  71. +0 −3 lib/strequal.c
  72. +0 −2 lib/strerror.c
  73. +0 −1 lib/strtok.c
  74. +1 −3 lib/strtoofft.c
  75. +0 −6 lib/telnet.c
  76. +0 −5 lib/tftp.c
  77. +0 −7 lib/transfer.c
  78. +0 −8 lib/url.c
  79. +3 −5 lib/url.h
  80. +0 −3 lib/version.c
  81. +1 −0 lib/wildcard.c
  82. +0 −3 src/getpass.c
  83. +0 −4 src/homedir.c
  84. +2 −1 src/hugehelp.c.cvs
  85. +1 −5 src/main.c
  86. +0 −2 src/mkhelp.pl
  87. +0 −4 src/urlglob.c
  88. +0 −3 src/writeout.c
  89. +0 −1 src/xattr.c
View
@@ -22,8 +22,6 @@
#include "setup.h"
-#include <string.h>
-
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
@@ -39,16 +37,12 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h> /* required for free() prototypes */
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for the close() proto */
#endif
#ifdef __VMS
#include <in.h>
#include <inet.h>
-#include <stdlib.h>
#endif
#ifdef HAVE_PROCESS_H
View
@@ -22,8 +22,6 @@
#include "setup.h"
-#include <string.h>
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -36,16 +34,12 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h> /* required for free() prototypes */
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for the close() proto */
#endif
#ifdef __VMS
#include <in.h>
#include <inet.h>
-#include <stdlib.h>
#endif
#if defined(USE_THREADS_POSIX)
View
@@ -27,13 +27,11 @@
*/
#include "setup.h"
+
#ifdef USE_AXTLS
#include <axTLS/ssl.h>
#include "axtls.h"
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
View
@@ -24,9 +24,6 @@
#include "setup.h"
-#include <stdlib.h>
-#include <string.h>
-
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
View
@@ -49,9 +49,6 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
#if (defined(HAVE_IOCTL_FIONBIO) && defined(NETWARE))
#include <sys/filio.h>
@@ -65,9 +62,6 @@
#include <inet.h>
#endif
-#include <stdio.h>
-#include <string.h>
-
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
View
@@ -24,9 +24,6 @@
#ifdef HAVE_LIBZ
-#include <stdlib.h>
-#include <string.h>
-
#include "urldata.h"
#include <curl/curl.h>
#include "sendf.h"
View
@@ -81,9 +81,6 @@ Example set of cookies:
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)
-#include <stdlib.h>
-#include <string.h>
-
#define _MPRINTF_REPLACE
#include <curl/mprintf.h>
View
@@ -40,7 +40,6 @@
#ifdef __VMS
# include <in.h>
# include <inet.h>
-# include <stdlib.h>
#endif
#if defined(NETWARE) && defined(__NOVELL_LIBC__)
View
@@ -19,6 +19,7 @@
* KIND, either express or implied.
*
***************************************************************************/
+
#include "setup.h"
#if defined(USE_THREADS_POSIX)
View
@@ -27,16 +27,13 @@
*/
#include "setup.h"
+
#ifdef USE_CYASSL
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
-
#include "urldata.h"
#include "sendf.h"
#include "inet_pton.h"
View
@@ -24,13 +24,6 @@
#ifndef CURL_DISABLE_DICT
-/* -- WIN32 approved -- */
-#include <stdio.h>
-#include <string.h>
-#include <stdarg.h>
-#include <stdlib.h>
-#include <ctype.h>
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
View
@@ -22,13 +22,6 @@
#include "setup.h"
-/* -- WIN32 approved -- */
-#include <stdio.h>
-#include <string.h>
-#include <stdarg.h>
-#include <stdlib.h>
-#include <ctype.h>
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
View
@@ -24,12 +24,9 @@
* allocated string or NULL if an error occurred. */
#include "setup.h"
-#include <ctype.h>
+
#include <curl/curl.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include "curl_memory.h"
#include "urldata.h"
#include "warnless.h"
View
@@ -23,12 +23,6 @@
#include "setup.h"
#ifndef CURL_DISABLE_FILE
-/* -- WIN32 approved -- */
-#include <stdio.h>
-#include <string.h>
-#include <stdarg.h>
-#include <stdlib.h>
-#include <ctype.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
View
@@ -22,7 +22,6 @@
#include "setup.h"
-#include <stdlib.h>
#include "strdup.h"
#include "fileinfo.h"
View
@@ -21,17 +21,14 @@
***************************************************************************/
#include "setup.h"
+
#include <curl/curl.h>
/* Length of the random boundary string. */
#define BOUNDARY_LENGTH 40
#if !defined(CURL_DISABLE_HTTP) || defined(USE_SSLEAY)
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdarg.h>
#if defined(HAVE_LIBGEN_H) && defined(HAVE_BASENAME)
#include <libgen.h>
#endif
View
@@ -23,11 +23,6 @@
#include "setup.h"
#ifndef CURL_DISABLE_FTP
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <ctype.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
View
@@ -22,10 +22,6 @@
#include "setup.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
#ifdef __VMS
#include <unixlib.h>
#endif
View
@@ -27,10 +27,6 @@
#include "urldata.h"
#include "getinfo.h"
-#include <stdio.h>
-#include <string.h>
-#include <stdarg.h>
-#include <stdlib.h>
#include "curl_memory.h"
#include "sslgen.h"
#include "connect.h" /* Curl_getconnectinfo() */
View
@@ -24,13 +24,6 @@
#ifndef CURL_DISABLE_GOPHER
-/* -- WIN32 approved -- */
-#include <stdio.h>
-#include <string.h>
-#include <stdarg.h>
-#include <stdlib.h>
-#include <ctype.h>
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
View
@@ -29,14 +29,13 @@
*/
#include "setup.h"
+
#ifdef USE_GNUTLS
+
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#include <gcrypt.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
View
@@ -22,9 +22,6 @@
#include "setup.h"
-#include <string.h>
-#include <stdlib.h>
-
#include "hash.h"
#include "llist.h"
View
@@ -22,8 +22,6 @@
#include "setup.h"
-#include <string.h>
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -36,16 +34,12 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h> /* required for free() prototypes */
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for the close() proto */
#endif
#ifdef __VMS
#include <in.h>
#include <inet.h>
-#include <stdlib.h>
#endif
#ifdef HAVE_PROCESS_H
View
@@ -22,8 +22,6 @@
#include "setup.h"
-#include <string.h>
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -36,16 +34,12 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h> /* required for free() prototypes */
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for the close() proto */
#endif
#ifdef __VMS
#include <in.h>
#include <inet.h>
-#include <stdlib.h>
#endif
#ifdef HAVE_SETJMP_H
View
@@ -22,8 +22,6 @@
#include "setup.h"
-#include <string.h>
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -36,16 +34,12 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h> /* required for free() prototypes */
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for the close() proto */
#endif
#ifdef __VMS
#include <in.h>
#include <inet.h>
-#include <stdlib.h>
#endif
#ifdef HAVE_PROCESS_H
Oops, something went wrong.

0 comments on commit f1586cb

Please sign in to comment.