# HG changeset patch # User Karl Heuer # Date 875148293 0 # Node ID 83050d7e3f64e0af7810b7e1c00e2f8fa6f75111 # Parent f5ea3a56adb5e77633bc14a344bcc9db096597ea Use system header files instead of declaring C-library functions explicitly. diff -r f5ea3a56adb5 -r 83050d7e3f64 lib-src/pop.c --- a/lib-src/pop.c Thu Sep 25 00:40:45 1997 +0000 +++ b/lib-src/pop.c Thu Sep 25 00:44:53 1997 +0000 @@ -74,6 +74,13 @@ #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 @@ # 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 *,