From a10f644fd21482559039f79e4a14fd39a83f6f9b Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Wed, 22 Sep 2010 19:50:47 +0100 Subject: [PATCH] rxperf: Fix so it builds on Unix Fix assorted errors in the rxperf utility so that it will build on Unix. Change-Id: I8ba4e5e6bc2bab38b38f27f5fae3138a0924caa6 Reviewed-on: http://gerrit.openafs.org/2834 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/rx/test/rxperf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/rx/test/rxperf.c b/src/rx/test/rxperf.c index 6ca4a4a8e..efa112e07 100644 --- a/src/rx/test/rxperf.c +++ b/src/rx/test/rxperf.c @@ -311,10 +311,10 @@ rxperf_ExecuteRequest(struct rx_call *call) { afs_int32 version; afs_int32 command; - afs_uint32 bytes; - afs_uint32 recvb; - afs_uint32 sendb; - afs_uint32 data; + afs_int32 bytes; + afs_int32 recvb; + afs_int32 sendb; + afs_int32 data; afs_uint32 num; afs_uint32 *readwrite; afs_uint32 i; @@ -587,7 +587,7 @@ do_client(const char *server, short port, char *filename, afs_int32 command, struct rx_securityClass *secureobj; int secureindex; afs_int32 data; - afs_int32 num; + afs_uint32 num; int ret; int i; int readp = FALSE; @@ -767,7 +767,7 @@ do_client(const char *server, short port, char *filename, afs_int32 command, } static void -usage() +usage(void) { #define COMMON "" -- 2.39.5