From: Jeffrey Altman Date: Mon, 19 Oct 2009 22:43:44 +0000 (-0400) Subject: Add server prefix to bumon.xg; avoid rx_call * vs rx_connection * warning X-Git-Tag: openafs-devel-1_5_66~37 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=bd011aeee7f5dad5c61fd81a90b296c46a0b9058 Add server prefix to bumon.xg; avoid rx_call * vs rx_connection * warning When compiling src/bubasics/bumon.ss.c a warning would be produced due to an rx_call* being passed into BC_Print which in its client form requires an rx_connection*. The server implementation and client stub each were called BC_Print because there was no server prefix specified in bumon.xg. Add prefix 'S' and update bucoord/server.c to match. Reviewed-on: http://gerrit.openafs.org/686 Reviewed-by: Simon Wilkinson Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/README.WARNINGS b/README.WARNINGS index 5a10fc6..651ae3f 100644 --- a/README.WARNINGS +++ b/README.WARNINGS @@ -49,7 +49,6 @@ bozo/bosserver.c : deprecated : daemon() marked as deprecated on Darwin bozo/bosoprocs.c : all : ExtendedCellInfo and des key types bozo/bos.c : all : DES key types & string consts bozo/bos_util.c : all : DES key types -bubasics/bumon.ss.c : all : BC_Print collision betwen client & server bucoord/ubik_db_if.c : strict-proto : Ubik_Call bucoord/commands.c : all : Ubik_Call : signed vs unsigned for dates diff --git a/src/bubasics/Makefile.in b/src/bubasics/Makefile.in index e4d21ed..ab0444f 100644 --- a/src/bubasics/Makefile.in +++ b/src/bubasics/Makefile.in @@ -93,9 +93,6 @@ butx_errs.c: butx_errs.et $(RM) -f butx.h butx_errs.c ${COMPILE_ET} -p ${srcdir} butx_errs -h butx -bumon.ss.o: bumon.ss.c - $(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $< - # # Installation targets # diff --git a/src/bubasics/bumon.xg b/src/bubasics/bumon.xg index dcbd85e..00140ac 100644 --- a/src/bubasics/bumon.xg +++ b/src/bubasics/bumon.xg @@ -8,6 +8,7 @@ */ package BC_ +prefix S statindex 3 /* this junk structure forces the creation of an .xdr.c file, diff --git a/src/bucoord/server.c b/src/bucoord/server.c index a35c250..6bd1f6c 100644 --- a/src/bucoord/server.c +++ b/src/bucoord/server.c @@ -21,7 +21,7 @@ /* services available on incoming message port */ int -BC_Print(struct rx_call *acall, afs_int32 acode, afs_int32 aflags, +SBC_Print(struct rx_call *acall, afs_int32 acode, afs_int32 aflags, char *amessage) { struct rx_connection *tconn;