Remove the evil inline ==> rpcgen_inline CPP hack, rename the variable
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 19 Jun 2004 16:40:36 +0000 (16:40 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 19 Jun 2004 16:40:36 +0000 (16:40 +0000)
commitcb0ca794cea536913f314ad12c53c7030aae9434
tree2171f6f4b7d51b39ce00115803df2443a017eae7
parentbe853a16fb1549e4986af0550e2952d1cce82b36
Remove the evil inline ==> rpcgen_inline CPP hack, rename the variable
properly. Use ISO C prototyps. Remove useless void casts. Do some other
style updates. Remove !defined(__DragonFly__) cases, one was checking for
__Dragonfly__, which broke buildworld with GCC 3.4. Add a break after
default: in switch statements, which is not portable and an error with
GCC 3.4 and later.
14 files changed:
usr.bin/rpcgen/Makefile
usr.bin/rpcgen/rpc_clntout.c
usr.bin/rpcgen/rpc_cout.c
usr.bin/rpcgen/rpc_hout.c
usr.bin/rpcgen/rpc_main.c
usr.bin/rpcgen/rpc_parse.c
usr.bin/rpcgen/rpc_parse.h
usr.bin/rpcgen/rpc_sample.c
usr.bin/rpcgen/rpc_scan.c
usr.bin/rpcgen/rpc_scan.h
usr.bin/rpcgen/rpc_svcout.c
usr.bin/rpcgen/rpc_tblout.c
usr.bin/rpcgen/rpc_util.c
usr.bin/rpcgen/rpc_util.h