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)
This commit is contained in:
Jeffrey Altman 2005-10-15 22:52:31 +00:00
parent 62213fcf80
commit 7270137ac7

View File

@ -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);
}