summaryrefslogtreecommitdiffstats
path: root/include/rpc/pmap_rmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/pmap_rmt.h')
-rw-r--r--include/rpc/pmap_rmt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rpc/pmap_rmt.h b/include/rpc/pmap_rmt.h
index 5c08066..9d5c00c 100644
--- a/include/rpc/pmap_rmt.h
+++ b/include/rpc/pmap_rmt.h
@@ -44,6 +44,10 @@
#define _RPC_PMAP_RMT_H
#include <sys/cdefs.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct rmtcallargs {
u_long prog, vers, proc, arglen;
caddr_t args_ptr;
@@ -62,4 +66,8 @@ extern bool_t xdr_rmtcall_args(XDR *, struct rmtcallargs *);
extern bool_t xdr_rmtcallres(XDR *, struct rmtcallres *);
__END_DECLS
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !_RPC_PMAP_RMT_H */
OpenPOWER on IntegriCloud