From: Jeffrey Altman Date: Sat, 15 Oct 2005 22:53:58 +0000 (+0000) Subject: STABLE140-rxgen-server-prefix-prototypes-20051015 X-Git-Tag: openafs-stable-1_4_0-rc8~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=50b0040df569acc8ba29830a6f97ec25dd4b434d;p=packages%2Fo%2Fopenafs.git STABLE140-rxgen-server-prefix-prototypes-20051015 When producing prototypes for server side functions, use the correct prefix as specified in the input file. If there is no prefix, then do not output the prototypes as they will collide with the client side stub prototypes. (cherry picked from commit 1968364520eb35b16b676a0a4abe7461da8ba87d) --- diff --git a/src/rxgen/rpc_hout.c b/src/rxgen/rpc_hout.c index a0abfa2d5..3edf9f454 100644 --- a/src/rxgen/rpc_hout.c +++ b/src/rxgen/rpc_hout.c @@ -270,7 +270,8 @@ psprocdef(definition * defp) psproc1(defp, 0, "int", "", 0xFFFFFFFF); } - psproc1(defp, 1, "afs_int32", "S", 0xFFFFFFFF); + if (*ServerPrefix) + psproc1(defp, 1, "afs_int32", ServerPrefix, 0xFFFFFFFF); }