summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getpwent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getpwent.c')
-rw-r--r--lib/libc/gen/getpwent.c5
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)
OpenPOWER on IntegriCloud