Searched hist:32624 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11.0-release/include/rpcsvc/ | ||
H A D | Makefile | diff 32624 Mon Jan 19 17:19:09 MST 1998 wpaul Invoke rpcgen with -C so that headers are created with ANSI prototypes. Note: this may cause some problems in a few cases. With very old versions of rpcgen, if you defined a procedure called foo, then rpcen would create client stubs for function foo_1() and server stubs _also_ with function foo_1(). This only worked because of the lack of ANSI prototypes: the client side stub takes different arguments than the server side stub. (The client side takes a CLIENT * handle, while the server side wants an svc_req *.) To fix this conflict, rpcgen in ANSI mode generates foo_1() for the client and foo_1_svc() for the server. RPC server code that depends on the old behavior might break because of this. (Fixing it is just a matter of adding the _svc suffix onto the server procedure names.) |
Completed in 45 milliseconds