summaryrefslogtreecommitdiffstats
path: root/include/rpc/rpcb_clnt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/rpcb_clnt.h')
-rw-r--r--include/rpc/rpcb_clnt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rpc/rpcb_clnt.h b/include/rpc/rpcb_clnt.h
index fa64a85..0cfa21f 100644
--- a/include/rpc/rpcb_clnt.h
+++ b/include/rpc/rpcb_clnt.h
@@ -61,6 +61,10 @@
#include <rpc/types.h>
#include <rpc/rpcb_prot.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
__BEGIN_DECLS
extern bool_t rpcb_set(const rpcprog_t, const rpcvers_t,
const struct netconfig *, const struct netbuf *);
@@ -82,4 +86,8 @@ extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
__END_DECLS
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !_RPC_RPCB_CLNT_H */
OpenPOWER on IntegriCloud