1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/usr.bin/rpcgen
Stefan Eßer 03fec0bdbc 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
rpc_clntout.c
rpc_cout.c
rpc_hout.c
rpc_main.c Eliminate coredump problem introduced by last commit. 2005-11-14 13:35:08 +00:00
rpc_parse.c
rpc_parse.h
rpc_sample.c
rpc_scan.c
rpc_scan.h
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
rpc_util.c
rpc_util.h
rpcgen.1