diff options
| author | Karl Heuer | 1997-09-25 00:44:53 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-09-25 00:44:53 +0000 |
| commit | 020d3015664e1f0b45af04906b05400ea54d1886 (patch) | |
| tree | 3de8ca45085806fb08ab2230d134f207169ed7b5 /lib-src | |
| parent | 5d516f2d331a5bfec9249183b6b1040fba36c362 (diff) | |
| download | emacs-020d3015664e1f0b45af04906b05400ea54d1886.tar.gz emacs-020d3015664e1f0b45af04906b05400ea54d1886.zip | |
Use system header files instead of declaring C-library
functions explicitly.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/pop.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c index a00867650d4..d1b39927738 100644 --- a/lib-src/pop.c +++ b/lib-src/pop.c | |||
| @@ -74,6 +74,13 @@ extern struct servent *hes_getservbyname (/* char *, char * */); | |||
| 74 | #include <stdio.h> | 74 | #include <stdio.h> |
| 75 | #ifdef STDC_HEADERS | 75 | #ifdef STDC_HEADERS |
| 76 | #include <string.h> | 76 | #include <string.h> |
| 77 | #define index strchr | ||
| 78 | #endif | ||
| 79 | #ifdef STDC_HEADERS | ||
| 80 | #include <stdlib.h> | ||
| 81 | #endif | ||
| 82 | #ifdef HAVE_UNISTD_H | ||
| 83 | #include <unistd.h> | ||
| 77 | #endif | 84 | #endif |
| 78 | 85 | ||
| 79 | #ifdef KERBEROS | 86 | #ifdef KERBEROS |
| @@ -107,13 +114,6 @@ extern struct servent *hes_getservbyname (/* char *, char * */); | |||
| 107 | # endif | 114 | # endif |
| 108 | #endif /* KERBEROS */ | 115 | #endif /* KERBEROS */ |
| 109 | 116 | ||
| 110 | |||
| 111 | extern char *getenv (/* char * */); | ||
| 112 | extern char *getlogin (/* void */); | ||
| 113 | extern char *getpass (/* char * */); | ||
| 114 | extern char *strerror (/* int */); | ||
| 115 | extern char *index (); | ||
| 116 | |||
| 117 | #ifdef KERBEROS | 117 | #ifdef KERBEROS |
| 118 | #ifndef KERBEROS5 | 118 | #ifndef KERBEROS5 |
| 119 | extern int krb_sendauth (/* long, int, KTEXT, char *, char *, char *, | 119 | extern int krb_sendauth (/* long, int, KTEXT, char *, char *, char *, |