summaryrefslogtreecommitdiffstats
path: root/include/rpc/rpcent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/rpcent.h')
-rw-r--r--include/rpc/rpcent.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rpc/rpcent.h b/include/rpc/rpcent.h
index 876b488..0aea015 100644
--- a/include/rpc/rpcent.h
+++ b/include/rpc/rpcent.h
@@ -45,6 +45,9 @@
/* #pragma ident "@(#)rpcent.h 1.13 94/04/25 SMI" */
/* @(#)rpcent.h 1.1 88/12/06 SMI */
+#ifdef __cplusplus
+extern "C" {
+#endif
struct rpcent {
char *r_name; /* name of server for this rpc program */
@@ -64,4 +67,8 @@ extern void setrpcent(int);
extern void endrpcent(void);
__END_DECLS
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !_RPC_CENT_H */
OpenPOWER on IntegriCloud