From aefaca423fb2a2110f382e754e31e3e72833659f Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 23 Mar 2009 19:53:55 +0000 Subject: [PATCH] DEVEL15-volser-fcn-return-types-20090323 LICENSE IPL10 make internal functions have correct return types (cherry picked from commit 4d9f5731c9ec6c50154da9784df0631a65dd9a9d) --- src/volser/volmain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/volser/volmain.c b/src/volser/volmain.c index 52e5a22aa..f361b492c 100644 --- a/src/volser/volmain.c +++ b/src/volser/volmain.c @@ -101,29 +101,29 @@ afs_uint32 SHostAddrs[ADDRSPERSITE]; } #if defined(AFS_PTHREAD_ENV) -char * +int threadNum(void) { return pthread_getspecific(rx_thread_id_key); } #endif -static afs_int32 +static void MyBeforeProc(struct rx_call *acall) { VTRANS_LOCK; runningCalls++; VTRANS_UNLOCK; - return 0; + return; } -static afs_int32 +static void MyAfterProc(struct rx_call *acall, afs_int32 code) { VTRANS_LOCK; runningCalls--; VTRANS_UNLOCK; - return 0; + return; } /* Called every GCWAKEUP seconds to try to unlock all our partitions, -- 2.39.5