summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-02-16 17:29:11 +0000
committernectar <nectar@FreeBSD.org>2003-02-16 17:29:11 +0000
commit832e8b7f9a7422b49453b7e389ec411d3037a50f (patch)
tree3b5579370346d51f378192429db2130e5e82a6e4 /lib/libc/rpc
parent81da3fbe2a40d9b80c8e96af564180f8aa22074e (diff)
downloadFreeBSD-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/rpc')
-rw-r--r--lib/libc/rpc/crypt_client.c1
-rw-r--r--lib/libc/rpc/getnetconfig.c1
-rw-r--r--lib/libc/rpc/mt_misc.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/rpc/crypt_client.c b/lib/libc/rpc/crypt_client.c
index 652a49b..255b266 100644
--- a/lib/libc/rpc/crypt_client.c
+++ b/lib/libc/rpc/crypt_client.c
@@ -34,6 +34,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
+#include <err.h>
#include <sys/types.h>
#include <rpc/des_crypt.h>
#include <rpc/des.h>
diff --git a/lib/libc/rpc/getnetconfig.c b/lib/libc/rpc/getnetconfig.c
index 0e77419..dae03b8 100644
--- a/lib/libc/rpc/getnetconfig.c
+++ b/lib/libc/rpc/getnetconfig.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
#include <rpc/rpc.h>
+#include <unistd.h>
#include "un-namespace.h"
#include "rpc_com.h"
diff --git a/lib/libc/rpc/mt_misc.c b/lib/libc/rpc/mt_misc.c
index 95edac4..023ec6a 100644
--- a/lib/libc/rpc/mt_misc.c
+++ b/lib/libc/rpc/mt_misc.c
@@ -10,6 +10,7 @@ __FBSDID("$FreeBSD$");
#include <rpc/rpc.h>
#include <sys/time.h>
#include <stdlib.h>
+#include <string.h>
#include "un-namespace.h"
/* protects the services list (svc.c) */
OpenPOWER on IntegriCloud