From: Jeffrey Altman Date: Sat, 15 Oct 2005 22:51:28 +0000 (+0000) Subject: rxgen-server-prefix-prototypes-20051015 X-Git-Tag: openafs-devel-1_5_0~241 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1968364520eb35b16b676a0a4abe7461da8ba87d;p=packages%2Fo%2Fopenafs.git 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. --- 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); }