Mercurial > emacs
changeset 19978:83050d7e3f64
Use system header files instead of declaring C-library
functions explicitly.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 25 Sep 1997 00:44:53 +0000 |
parents | f5ea3a56adb5 |
children | 8540d32e89cd |
files | lib-src/pop.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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 @@ # 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 *,