From 7270137ac7b6997ebe713652c8f98d6a75e6545a Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 15 Oct 2005 22:52:31 +0000 Subject: [PATCH] STABLE14-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) --- src/rxgen/rpc_hout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5