Fix the Unix build of rxperf again
Change-Id: I2c5d43f6f69ef36d703bd73154a1f5ec080a47cd
Reviewed-on: http://gerrit.openafs.org/2840
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
afs_int32 recvtimes;
};
-static void
+static void *
client_thread( void *vparams)
{
struct client_data *params = (struct client_data *)vparams;
afs_uint32 *readwrite;
int readp = FALSE;
afs_uint32 size;
- afs_int32 num;
+ afs_uint32 num;
for (i = 0; i < params->times; i++) {
#ifdef AFS_PTHREAD_ENV
pthread_exit(NULL);
#endif
+
+ return NULL;
}
/*
struct rx_securityClass *secureobj;
int secureindex;
int ret;
- int i;
char stamp[2048];
struct client_data params;
#ifdef AFS_PTHREAD_ENV
+ int i;
pthread_t thread[MAX_THREADS];
pthread_attr_t tattr;
void *status;