diff mbox

[1/2] Multiple clnt_broadcast, rename static reference

Message ID 1308795967-7605-2-git-send-email-tdh@excfb.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Haynes June 23, 2011, 2:26 a.m. UTC
Signed-off-by: Tom Haynes <tdh@excfb.com>
---
 tools/pmapbrd.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/tools/pmapbrd.c b/tools/pmapbrd.c
index c447ced..2bb05b6 100644
--- a/tools/pmapbrd.c
+++ b/tools/pmapbrd.c
@@ -98,7 +98,7 @@  static bool_t xdr_rmtcallres ARGS_((XDR *, struct rmtcallres *));
 #define RPROC_NUM (u_long)1
 #endif
 
-static enum clnt_stat clnt_broadcast ARGS_((int, unsigned long, unsigned long,
+static enum clnt_stat clnt_broadcast_time ARGS_((int, unsigned long, unsigned long,
 		unsigned long, xdrproc_t, void *, xdrproc_t, void *,
 		resultproc_t, struct timeval *));
 
@@ -174,7 +174,7 @@  main(argc, argv)
 		 * XXX shouldn't have to cast eachresult?
 		 */
 		clnt_stat =
-		    clnt_broadcast(sock, RPROG, RVERS, RPROC_NUM, xdr_void, &a,
+		    clnt_broadcast_time(sock, RPROG, RVERS, RPROC_NUM, xdr_void, &a,
 		    xdr_void, &b, (resultproc_t)eachresult, &t);
 		if(clnt_stat != RPC_TIMEDOUT) {
 			printf("error: clnt_stat = %d\n", clnt_stat);
@@ -305,7 +305,8 @@  getbroadcastnets(sock, buf)
 }
 
 static enum clnt_stat 
-clnt_broadcast(sock, prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult, t)
+clnt_broadcast_time(sock, prog, vers, proc, xargs, argsp, xresults,
+			resultsp, eachresult, t)
 	int		sock;
 #ifdef SVR3
 	ulong		prog;		/* program number */