From 7a7b55658b7c72eef0f9b495f02ce766c9961d6e Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 23 Mar 2009 18:46:40 +0000 Subject: [PATCH] viced-type-fixups-20090323 LICENSE IPL10 SetLogThreadNum takes a fcn returning int. get_key's first arg is a void* --- src/viced/viced.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viced/viced.c b/src/viced/viced.c index e87f6a4bf..2d5d18287 100644 --- a/src/viced/viced.c +++ b/src/viced/viced.c @@ -352,7 +352,7 @@ ResetCheckDescriptors(void) } #if defined(AFS_PTHREAD_ENV) -int * +int threadNum(void) { return pthread_getspecific(rx_thread_id_key); @@ -361,7 +361,7 @@ threadNum(void) /* proc called by rxkad module to get a key */ static int -get_key(char *arock, register afs_int32 akvno, struct ktc_encryptionKey *akey) +get_key(void *arock, register afs_int32 akvno, struct ktc_encryptionKey *akey) { /* find the key */ static struct afsconf_key tkey; -- 2.39.5