diff options
author | Karl Heuer <kwzh@gnu.org> | 1997-09-25 00:44:53 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1997-09-25 00:44:53 +0000 |
commit | 9fcc86af542041cd6f4839e91c1876292e1a71fb (patch) | |
tree | 4a0bfbb15a663d410916fe56140a920503982fd3 /lib-src | |
parent | 7240ebbd15df09e08d38dbefa612f7d608b87cf5 (diff) | |
download | emacs-9fcc86af542041cd6f4839e91c1876292e1a71fb.tar.gz |
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 * */); #include <stdio.h> #ifdef STDC_HEADERS #include <string.h> +#define index strchr +#endif +#ifdef STDC_HEADERS +#include <stdlib.h> +#endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> #endif #ifdef KERBEROS @@ -107,13 +114,6 @@ extern struct servent *hes_getservbyname (/* char *, char * */); # endif #endif /* KERBEROS */ - -extern char *getenv (/* char * */); -extern char *getlogin (/* void */); -extern char *getpass (/* char * */); -extern char *strerror (/* int */); -extern char *index (); - #ifdef KERBEROS #ifndef KERBEROS5 extern int krb_sendauth (/* long, int, KTEXT, char *, char *, char *, |