diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/getpass.c | 3 | ||||
| -rw-r--r-- | src/homedir.c | 4 | ||||
| -rw-r--r-- | src/hugehelp.c.cvs | 3 | ||||
| -rw-r--r-- | src/main.c | 6 | ||||
| -rw-r--r-- | src/mkhelp.pl | 2 | ||||
| -rw-r--r-- | src/urlglob.c | 4 | ||||
| -rw-r--r-- | src/writeout.c | 3 | ||||
| -rw-r--r-- | src/xattr.c | 1 | 
8 files changed, 3 insertions, 23 deletions
| diff --git a/src/getpass.c b/src/getpass.c index 95d257b2f..438fc8d31 100644 --- a/src/getpass.c +++ b/src/getpass.c @@ -28,9 +28,6 @@  #ifndef HAVE_GETPASS_R  /* this file is only for systems without getpass_r() */ -#include <stdio.h> -#include <string.h> -  #ifdef HAVE_UNISTD_H  #include <unistd.h>  #endif diff --git a/src/homedir.c b/src/homedir.c index 52f69c7ee..d354ef906 100644 --- a/src/homedir.c +++ b/src/homedir.c @@ -22,10 +22,6 @@  #include "setup.h" -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -  #ifdef HAVE_PWD_H  #include <pwd.h>  #endif diff --git a/src/hugehelp.c.cvs b/src/hugehelp.c.cvs index ac9f0ff87..1eb2fa537 100644 --- a/src/hugehelp.c.cvs +++ b/src/hugehelp.c.cvs @@ -1,4 +1,5 @@ -#include <stdio.h> +#include "setup.h" +#include "hugehelp.h"  void hugehelp(void)  {    puts ( "This is a silly replacement for the actual file."); diff --git a/src/main.c b/src/main.c index db4405c4a..d5a99f733 100644 --- a/src/main.c +++ b/src/main.c @@ -19,6 +19,7 @@   * KIND, either express or implied.   *   ***************************************************************************/ +  #include "setup.h"  #include <curl/curl.h> @@ -27,13 +28,8 @@  ** system headers  */ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <stdarg.h>  #include <sys/types.h>  #include <sys/stat.h> -#include <ctype.h>  #if defined(MSDOS) || defined(WIN32)  #  if defined(HAVE_LIBGEN_H) && defined(HAVE_BASENAME) diff --git a/src/mkhelp.pl b/src/mkhelp.pl index 4d44a9e0f..1d1be601e 100644 --- a/src/mkhelp.pl +++ b/src/mkhelp.pl @@ -136,12 +136,10 @@ print <<HEAD  #include "setup.h"  #ifdef USE_MANUAL  #include "hugehelp.h" -#include <stdio.h>  HEAD      ;  if($c) {      print <<HEAD -#include <stdlib.h>  #include <zlib.h>  static const unsigned char hugehelpgz[] = {    /* This mumbo-jumbo is the huge help text compressed with gzip. diff --git a/src/urlglob.c b/src/urlglob.c index 8dd77e136..371c314f2 100644 --- a/src/urlglob.c +++ b/src/urlglob.c @@ -23,10 +23,6 @@  /* client-local setup.h */  #include "setup.h" -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <ctype.h>  #include <curl/curl.h>  #define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */ diff --git a/src/writeout.c b/src/writeout.c index e044a9d8e..c0f3f382e 100644 --- a/src/writeout.c +++ b/src/writeout.c @@ -22,9 +22,6 @@  #include "setup.h" -#include <stdio.h> -#include <string.h> -  #ifdef HAVE_SYS_TYPES_H  #include <sys/types.h>  #endif diff --git a/src/xattr.c b/src/xattr.c index 61d6697bb..1600d88c6 100644 --- a/src/xattr.c +++ b/src/xattr.c @@ -27,7 +27,6 @@  #ifdef HAVE_FSETXATTR  #include <sys/types.h> -#include <string.h>  #include <sys/xattr.h> /* include header from libc, not from libattr */  /* mapping table of curl metadata to extended attribute names */ | 
