summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen/rpc_util.h
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-01 19:16:25 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-01 19:16:25 +0000
commitcd3615cae726ef8f1ea81f8af4d25a8ff2fa6ab7 (patch)
tree811d253fa6dd9c7130a1eb6b03d8f45fd9ce7485 /usr.bin/rpcgen/rpc_util.h
parent1d9944c7c9dd7c2690c4a21182e65394409b2015 (diff)
downloadFreeBSD-src-cd3615cae726ef8f1ea81f8af4d25a8ff2fa6ab7.zip
FreeBSD-src-cd3615cae726ef8f1ea81f8af4d25a8ff2fa6ab7.tar.gz
Only write the dispatch table function prototypes to the header if the -h
flag was specified. If all files are generated at once, those functions are static and shouldn't appear in the header. PR: 84450 Reviewed by: alfred
Diffstat (limited to 'usr.bin/rpcgen/rpc_util.h')
-rw-r--r--usr.bin/rpcgen/rpc_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rpcgen/rpc_util.h b/usr.bin/rpcgen/rpc_util.h
index 3e53a51..f32099e 100644
--- a/usr.bin/rpcgen/rpc_util.h
+++ b/usr.bin/rpcgen/rpc_util.h
@@ -191,8 +191,8 @@ void emit(definition *def);
/*
* rpc_hout routines
*/
-void print_datadef(definition *def);
-void print_funcdef(definition *def);
+void print_datadef(definition *def, int headeronly);
+void print_funcdef(definition *def, int headeronly);
void print_xdr_func_def(char* name, int pointerp, int i);
/*
OpenPOWER on IntegriCloud