aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rpc/auth_des.h2
-rw-r--r--include/rpc/pmap_clnt.h9
-rw-r--r--include/rpc/svc.h3
3 files changed, 13 insertions, 1 deletions
diff --git a/include/rpc/auth_des.h b/include/rpc/auth_des.h
index 014b30ca11..4cacffa95b 100644
--- a/include/rpc/auth_des.h
+++ b/include/rpc/auth_des.h
@@ -2,6 +2,8 @@
#include <sunrpc/rpc/auth_des.h>
+libc_hidden_proto (getpublickey)
+
extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
extern bool_t xdr_authdes_verf (register XDR *xdrs,
register struct authdes_verf *verf);
diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h
index dfe537c96f..2d02ff2096 100644
--- a/include/rpc/pmap_clnt.h
+++ b/include/rpc/pmap_clnt.h
@@ -1 +1,8 @@
-#include <sunrpc/rpc/pmap_clnt.h>
+#ifndef _RPC_PMAP_CLNT_H
+# include <sunrpc/rpc/pmap_clnt.h>
+
+libc_hidden_proto (pmap_getport)
+libc_hidden_proto (pmap_set)
+libc_hidden_proto (pmap_unset)
+
+#endif
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index 063e6f3976..77f8e9295e 100644
--- a/include/rpc/svc.h
+++ b/include/rpc/svc.h
@@ -1,6 +1,9 @@
#ifndef _RPC_SVC_H
#include <sunrpc/rpc/svc.h>
+libc_hidden_proto (xprt_register)
+libc_hidden_proto (xprt_unregister)
+
/* Now define the internal interfaces. */
extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
char *(*progname) (char *), xdrproc_t inproc,