From: Karl Heuer Date: Thu, 25 Sep 1997 00:44:53 +0000 (+0000) Subject: Use system header files instead of declaring C-library X-Git-Tag: emacs-20.3~3095 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=020d3015664e1f0b45af04906b05400ea54d1886;p=emacs.git Use system header files instead of declaring C-library functions explicitly. --- 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 #ifdef STDC_HEADERS #include +#define index strchr +#endif +#ifdef STDC_HEADERS +#include +#endif +#ifdef HAVE_UNISTD_H +#include #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 *,