Fix assorted errors in the rxperf utility so that it will build
on Unix.
Reviewed-on: http://gerrit.openafs.org/2834
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit
a10f644fd21482559039f79e4a14fd39a83f6f9b)
(cherry picked from commit
a421dbb79a96e6ac4ca004c6b65ace313c340c3f)
Change-Id: I80532b781fe758112718ab8d5b268e4005d4376d
Reviewed-on: http://gerrit.openafs.org/2916
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
{
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;
struct rx_securityClass *secureobj;
int secureindex;
afs_int32 data;
- afs_int32 num;
+ afs_uint32 num;
int ret;
int i;
int readp = FALSE;
}
static void
-usage()
+usage(void)
{
#define COMMON ""