about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/create_xid.c1
-rw-r--r--sunrpc/rpc_hout.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/sunrpc/create_xid.c b/sunrpc/create_xid.c
index 218b704913..c262aab430 100644
--- a/sunrpc/create_xid.c
+++ b/sunrpc/create_xid.c
@@ -21,6 +21,7 @@
 #include <stdlib.h>
 #include <sys/time.h>
 #include <bits/libc-lock.h>
+#include <rpc/rpc.h>
 
 /* The RPC code is not threadsafe, but new code should be threadsafe. */
 
diff --git a/sunrpc/rpc_hout.c b/sunrpc/rpc_hout.c
index 39bfae8324..a12810cbb4 100644
--- a/sunrpc/rpc_hout.c
+++ b/sunrpc/rpc_hout.c
@@ -58,7 +58,7 @@ static int undefined2 (const char *type, const char *stop);
 /* store away enough information to allow the XDR functions to be spat
     out at the end of the file */
 
-void
+static void
 storexdrfuncdecl (const char *name, int pointerp)
 {
   xdrfunc * xdrptr;