summaryrefslogtreecommitdiff
path: root/include/rpc/pmap_clnt.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:16:25 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:16:25 +0000
commit8d59503b977070aaa4e504e8d6dcb7da3711893e (patch)
tree8272c9c2cce43afa4fe4d8d92c269a6435242661 /include/rpc/pmap_clnt.h
parent76a7dc16fab8853ef9230447fa98c70a3619dc6d (diff)
parentbcea9593527d90b9f9ff3817e3fbf0fbc3d01fa7 (diff)
Merge commit 'refs/top-bases/t/gsync-libc-merge' into t/gsync-libc-merge
Diffstat (limited to 'include/rpc/pmap_clnt.h')
-rw-r--r--include/rpc/pmap_clnt.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h
index 67628e0589..8368a39f6f 100644
--- a/include/rpc/pmap_clnt.h
+++ b/include/rpc/pmap_clnt.h
@@ -1,21 +1,22 @@
#ifndef _RPC_PMAP_CLNT_H
-# include <sunrpc/rpc/pmap_clnt.h>
+#include <sunrpc/rpc/pmap_clnt.h>
+
+# ifndef _ISOMAC
libc_hidden_proto (pmap_getport)
libc_hidden_proto (pmap_set)
libc_hidden_proto (pmap_unset)
/* Defined in pm_getport.c. */
-extern int __get_socket (struct sockaddr_in *saddr)
- attribute_hidden internal_function;
+extern int __get_socket (struct sockaddr_in *saddr) attribute_hidden;
extern u_short __libc_rpc_getport (struct sockaddr_in *address, u_long program,
u_long version, u_int protocol,
- time_t timeout_sec, time_t tottimeout_sec)
- internal_function;
+ time_t timeout_sec, time_t tottimeout_sec);
libc_hidden_proto (__libc_rpc_getport)
libc_hidden_proto (clnt_broadcast)
libc_hidden_proto (pmap_getmaps)
libc_hidden_proto (pmap_rmtcall)
-#endif
+# endif /* !_ISOMAC */
+#endif /* rpc/pmap_clnt.h */