summaryrefslogtreecommitdiffstats
path: root/include/rpc/rpc_com.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/rpc_com.h')
-rw-r--r--include/rpc/rpc_com.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/rpc/rpc_com.h b/include/rpc/rpc_com.h
index 122fe7e..2060c3a 100644
--- a/include/rpc/rpc_com.h
+++ b/include/rpc/rpc_com.h
@@ -42,9 +42,13 @@
#ifndef _RPC_RPCCOM_H
#define _RPC_RPCCOM_H
+/* #pragma ident "@(#)rpc_com.h 1.11 93/07/05 SMI" */
+
#include <sys/cdefs.h>
-/* #pragma ident "@(#)rpc_com.h 1.11 93/07/05 SMI" */
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
* The max size of the transport, if the size cannot be determined
@@ -80,4 +84,8 @@ char *_get_next_token(char *, int);
__END_DECLS
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RPC_RPCCOM_H */
OpenPOWER on IntegriCloud