diff options
author | nectar <nectar@FreeBSD.org> | 2003-02-16 17:29:11 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-02-16 17:29:11 +0000 |
commit | 832e8b7f9a7422b49453b7e389ec411d3037a50f (patch) | |
tree | 3b5579370346d51f378192429db2130e5e82a6e4 /lib/libc/gen/getpwent.c | |
parent | 81da3fbe2a40d9b80c8e96af564180f8aa22074e (diff) | |
download | FreeBSD-src-832e8b7f9a7422b49453b7e389ec411d3037a50f.zip FreeBSD-src-832e8b7f9a7422b49453b7e389ec411d3037a50f.tar.gz |
Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).
Only warnings that could be fixed without changing the generated object
code and without restructuring the source code have been handled.
Reviewed by: /sbin/md5
Diffstat (limited to 'lib/libc/gen/getpwent.c')
-rw-r--r-- | lib/libc/gen/getpwent.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index a3bfed8..cf7c644 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <limits.h> #include <nsswitch.h> +#include <netdb.h> #ifdef HESIOD #include <hesiod.h> #endif @@ -64,10 +65,6 @@ __FBSDID("$FreeBSD$"); #endif #include "un-namespace.h" -extern void setnetgrent(char *); -extern int getnetgrent(char **, char **, char **); -extern int innetgr(const char *, const char *, const char *, const char *); - #include "pw_scan.h" #if defined(YP) || defined(HESIOD) |