diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-09-01 19:16:25 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-09-01 19:16:25 +0000 |
commit | cd3615cae726ef8f1ea81f8af4d25a8ff2fa6ab7 (patch) | |
tree | 811d253fa6dd9c7130a1eb6b03d8f45fd9ce7485 /usr.bin/rpcgen/rpc_util.h | |
parent | 1d9944c7c9dd7c2690c4a21182e65394409b2015 (diff) | |
download | FreeBSD-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.h | 4 |
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); /* |