aboutsummaryrefslogtreecommitdiff
path: root/nis/rpcsvc/nis.h
diff options
context:
space:
mode:
Diffstat (limited to 'nis/rpcsvc/nis.h')
-rw-r--r--nis/rpcsvc/nis.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nis/rpcsvc/nis.h b/nis/rpcsvc/nis.h
index c2c5319..b91ce19 100644
--- a/nis/rpcsvc/nis.h
+++ b/nis/rpcsvc/nis.h
@@ -998,7 +998,11 @@ extern nis_error * nis_updkeys_3();
extern nis_error * nis_updkeys_3_svc();
#endif /* Old Style C */
struct rpcgen_table {
+#if defined __cplusplus || __STDC__
+ char *(*proc)(void);
+#else
char *(*proc)();
+#endif
xdrproc_t xdr_arg;
unsigned len_arg;
xdrproc_t xdr_res;