STABLE14-viced-type-fixups-20090323

LICENSE IPL10

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


(cherry picked from commit 7a7b55658b)
This commit is contained in:
Derrick Brashear 2009-03-23 18:47:03 +00:00
parent 26a55d03fb
commit d985860844

View 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;