cvs commit: src/usr.bin/rpcgen rpc_tblout.c
Alfred Perlstein
alfred at FreeBSD.org
Wed Feb 2 14:14:12 PST 2005
alfred 2005-02-02 22:14:11 UTC
FreeBSD src repository
Modified files:
usr.bin/rpcgen rpc_tblout.c
Log:
Modify rpcgen -t output to something that's a lot more useful in
today's modern "no sir, not today" compilers.
Basically, when building the table:
use NULL instead of 0,
use braces around array initializers,
case the function pointers to xdrproc_t,
don't cast function pointers that do not need casting.
MFC After: 1 week
Revision Changes Path
1.7 +9 -6 src/usr.bin/rpcgen/rpc_tblout.c
More information about the cvs-src
mailing list