diff options
author | ed <ed@FreeBSD.org> | 2010-01-02 10:09:20 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-02 10:09:20 +0000 |
commit | b2f13324285e9f616da10d4c1fb2d101723c07ea (patch) | |
tree | a138378761890dfbbb922442dc23d824a9740d2d /usr.bin/rpcgen/rpc_hout.c | |
parent | 09818ac28e064437e7ab61eb0cd30245d17d27ea (diff) | |
download | FreeBSD-src-b2f13324285e9f616da10d4c1fb2d101723c07ea.zip FreeBSD-src-b2f13324285e9f616da10d4c1fb2d101723c07ea.tar.gz |
ANSIfy various tools in usr.bin/.
Most of these tools properly build at WARNS=6, except for their K&R
function declarations. Fix this, so we can bump WARNS as well.
Diffstat (limited to 'usr.bin/rpcgen/rpc_hout.c')
-rw-r--r-- | usr.bin/rpcgen/rpc_hout.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/usr.bin/rpcgen/rpc_hout.c b/usr.bin/rpcgen/rpc_hout.c index 7068363..7607ef7 100644 --- a/usr.bin/rpcgen/rpc_hout.c +++ b/usr.bin/rpcgen/rpc_hout.c @@ -148,8 +148,7 @@ print_xdr_func_def(const char *name, int pointerp) static void -pconstdef(def) - definition *def; +pconstdef(definition *def) { pdefine(def->def_name, def->def.co); } @@ -205,8 +204,7 @@ pstructdef(definition *def) } static void -puniondef(def) - definition *def; +puniondef(definition *def) { case_list *l; const char *name = def->def_name; @@ -374,8 +372,7 @@ parglist(proc_list *proc, const char *addargtype) } static void -penumdef(def) - definition *def; +penumdef(definition *def) { const char *name = def->def_name; enumval_list *l; @@ -406,8 +403,7 @@ penumdef(def) } static void -ptypedef(def) - definition *def; +ptypedef(definition *def) { const char *name = def->def_name; const char *old = def->def.ty.old_type; |