summaryrefslogtreecommitdiffstats
path: root/include/rpc/nettype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/nettype.h')
-rw-r--r--include/rpc/nettype.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rpc/nettype.h b/include/rpc/nettype.h
index 5e26268..e046b74 100644
--- a/include/rpc/nettype.h
+++ b/include/rpc/nettype.h
@@ -44,6 +44,10 @@
#include <netconfig.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define _RPC_NONE 0
#define _RPC_NETPATH 1
#define _RPC_VISIBLE 2
@@ -61,4 +65,8 @@ extern struct netconfig *__rpc_getconf(void *);
extern struct netconfig *__rpc_getconfip(const char *);
__END_DECLS
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !_RPC_NETTYPE_H */
OpenPOWER on IntegriCloud