freebsd-skq/usr.bin/rpcgen
se 8761a2e70d Never define the generated rpc server main function with storage type
"static". The header file generated by "rpcgen -h" will always declare
it as extern, leading to a "static after extern" error being issued by
gcc-4.2. This caused only a warning in gcc-3.x, but it has been wrong
all the time.

This change does not modify the code generated by "rpcgen -m", it only
affects rpcgen used to generate server stubs with a local main function.

This is the minimal patch. It does not remove the now obsolete "storage"
parameter from write_program() and write_programs() in an attempt to keep
differences to other systems' versions of rpcgen as small as possible.
2007-06-16 14:39:25 +00:00
..
Makefile Rename the variable inline' to inline_size'. 2005-08-31 19:44:40 +00:00
rpc_clntout.c Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_cout.c Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_hout.c Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_main.c Eliminate coredump problem introduced by last commit. 2005-11-14 13:35:08 +00:00
rpc_parse.c Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_parse.h Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_sample.c Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_scan.c Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_scan.h Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_svcout.c Never define the generated rpc server main function with storage type 2007-06-16 14:39:25 +00:00
rpc_tblout.c Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_util.c Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpc_util.h Use ANSI definitions. 2005-11-13 21:17:24 +00:00
rpcgen.1 The appropriate argument is -K -1, not -k -1. 2005-09-02 18:37:34 +00:00