aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/pmap_clnt.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-06 01:23:20 +0000
committerRoland McGrath <roland@gnu.org>2002-08-06 01:23:20 +0000
commitcd4c174b680666cd27407ca5cd972e77cb772fff (patch)
treee7fccbaf301b21eb4150c7c685eae57192e935ef /sunrpc/pmap_clnt.c
parentf884de5be9f507f635acea32b127d0ba3985d59f (diff)
downloadglibc-cd4c174b680666cd27407ca5cd972e77cb772fff.zip
glibc-cd4c174b680666cd27407ca5cd972e77cb772fff.tar.gz
glibc-cd4c174b680666cd27407ca5cd972e77cb772fff.tar.bz2
2002-08-05 Roland McGrath <roland@redhat.com>
* include/rpc/svc.h: Use libc_hidden_proto for xprt_register, xprt_unregister. * sunrpc/svc.c: Add libc_hidden_def. * include/rpc/pmap_clnt.h: Use libc_hidden_proto for pmap_getport, pmap_set, pmap_unset. * sunrpc/pmap_clnt.c: Add libc_hidden_def. * sunrpc/pm_getport.c: Likewise. * include/rpc/auth_des.h: Use libc_hidden_proto for getpublickey. * sunrpc/publickey.c: Add libc_hidden_def.
Diffstat (limited to 'sunrpc/pmap_clnt.c')
-rw-r--r--sunrpc/pmap_clnt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sunrpc/pmap_clnt.c b/sunrpc/pmap_clnt.c
index fa9bbf9..7c9a5a3 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)