]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-viced-type-fixups-20090323
authorDerrick Brashear <shadow@dementia.org>
Mon, 23 Mar 2009 18:47:03 +0000 (18:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 23 Mar 2009 18:47:03 +0000 (18:47 +0000)
LICENSE IPL10

SetLogThreadNum takes a fcn returning int.
get_key's first arg is a void*

(cherry picked from commit 7a7b55658b7c72eef0f9b495f02ce766c9961d6e)

src/viced/viced.c

index ab3c5a3b6f80f45393d47bdfa8c71e2a656690af..d4f83a14eaea9b4d082fb8fe9f793d7861ec445f 100644 (file)
@@ -315,7 +315,7 @@ ResetCheckDescriptors(void)
 }
 
 #if defined(AFS_PTHREAD_ENV)
-char *
+int
 threadNum(void)
 {
     return pthread_getspecific(rx_thread_id_key);
@@ -324,7 +324,7 @@ threadNum(void)
 
 /* proc called by rxkad module to get a key */
 static int
-get_key(char *arock, register afs_int32 akvno, char *akey)
+get_key(void *arock, register afs_int32 akvno, char *akey)
 {
     /* find the key */
     static struct afsconf_key tkey;