summaryrefslogtreecommitdiffstats
path: root/include/rpc/pmap_clnt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/pmap_clnt.h')
-rw-r--r--include/rpc/pmap_clnt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h
index 89f1614..e2e5f79 100644
--- a/include/rpc/pmap_clnt.h
+++ b/include/rpc/pmap_clnt.h
@@ -66,6 +66,10 @@
#define _RPC_PMAP_CLNT_H_
#include <sys/cdefs.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
__BEGIN_DECLS
extern bool_t pmap_set(u_long, u_long, int, int);
extern bool_t pmap_unset(u_long, u_long);
@@ -83,4 +87,8 @@ extern u_short pmap_getport(struct sockaddr_in *,
u_long, u_long, u_int);
__END_DECLS
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !_RPC_PMAP_CLNT_H_ */
OpenPOWER on IntegriCloud