diff options
-rw-r--r-- | include/rpc/auth_des.h | 2 | ||||
-rw-r--r-- | include/rpc/pmap_clnt.h | 9 | ||||
-rw-r--r-- | include/rpc/svc.h | 3 | ||||
-rw-r--r-- | sunrpc/pm_getport.c | 1 | ||||
-rw-r--r-- | sunrpc/pmap_clnt.c | 2 | ||||
-rw-r--r-- | sunrpc/publickey.c | 1 | ||||
-rw-r--r-- | sunrpc/svc.c | 2 |
7 files changed, 19 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, diff --git a/sunrpc/pm_getport.c b/sunrpc/pm_getport.c index cd65307ee9..a15f9785a5 100644 --- a/sunrpc/pm_getport.c +++ b/sunrpc/pm_getport.c @@ -93,3 +93,4 @@ pmap_getport (address, program, version, protocol) address->sin_port = 0; return port; } +libc_hidden_def (pmap_getport) diff --git a/sunrpc/pmap_clnt.c b/sunrpc/pmap_clnt.c index fa9bbf9373..7c9a5a37c4 100644 --- a/sunrpc/pmap_clnt.c +++ b/sunrpc/pmap_clnt.c @@ -141,6 +141,7 @@ pmap_set (u_long program, u_long version, int protocol, u_short port) /* (void)close(socket); CLNT_DESTROY closes it */ return rslt; } +libc_hidden_def (pmap_set) /* * Remove the mapping between program,version and port. @@ -172,3 +173,4 @@ pmap_unset (u_long program, u_long version) /* (void)close(socket); CLNT_DESTROY already closed it */ return rslt; } +libc_hidden_def (pmap_unset) diff --git a/sunrpc/publickey.c b/sunrpc/publickey.c index 2e875ec196..ecf57bc90c 100644 --- a/sunrpc/publickey.c +++ b/sunrpc/publickey.c @@ -72,6 +72,7 @@ getpublickey (const char *name, char *key) return status == NSS_STATUS_SUCCESS; } +libc_hidden_def (getpublickey) int diff --git a/sunrpc/svc.c b/sunrpc/svc.c index f3f46c7efe..6e7fdeae2a 100644 --- a/sunrpc/svc.c +++ b/sunrpc/svc.c @@ -115,6 +115,7 @@ xprt_register (SVCXPRT *xprt) POLLRDNORM | POLLRDBAND); } } +libc_hidden_def (xprt_register) /* De-activate a transport handle. */ void @@ -135,6 +136,7 @@ xprt_unregister (SVCXPRT *xprt) svc_pollfd[i].fd = -1; } } +libc_hidden_def (xprt_unregister) /* ********************** CALLOUT list related stuff ************* */ |