summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/getrpcent.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-02-27 13:40:01 +0000
committernectar <nectar@FreeBSD.org>2003-02-27 13:40:01 +0000
commit0d65b541d4b09e3c91112b5b2ffe0efa9a390a55 (patch)
tree205498ba7f9a56de737c44c088026af3e03556ca /lib/libc/rpc/getrpcent.c
parentae8811433e5eff867ac6b45eb3e972f8b0c6310c (diff)
downloadFreeBSD-src-0d65b541d4b09e3c91112b5b2ffe0efa9a390a55.zip
FreeBSD-src-0d65b541d4b09e3c91112b5b2ffe0efa9a390a55.tar.gz
Eliminate 19 warnings in libc (at level WARNS=2) of the
`implicit declaration of function' variety.
Diffstat (limited to 'lib/libc/rpc/getrpcent.c')
-rw-r--r--lib/libc/rpc/getrpcent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c
index 9e305d2..b20d80d 100644
--- a/lib/libc/rpc/getrpcent.c
+++ b/lib/libc/rpc/getrpcent.c
@@ -58,6 +58,7 @@ __FBSDID("$FreeBSD$");
#include <rpcsvc/ypclnt.h>
#endif
#include "un-namespace.h"
+#include "libc_private.h"
/*
* Internet version.
@@ -80,7 +81,6 @@ static struct rpcent *interpret(char *val, size_t len);
#ifdef YP
static int __yp_nomap = 0;
-extern int _yp_check(char **);
#endif /* YP */
#define RPCDB "/etc/rpc"
OpenPOWER on IntegriCloud