mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
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:
parent
26a55d03fb
commit
d985860844
@ -315,7 +315,7 @@ ResetCheckDescriptors(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(AFS_PTHREAD_ENV)
|
#if defined(AFS_PTHREAD_ENV)
|
||||||
char *
|
int
|
||||||
threadNum(void)
|
threadNum(void)
|
||||||
{
|
{
|
||||||
return pthread_getspecific(rx_thread_id_key);
|
return pthread_getspecific(rx_thread_id_key);
|
||||||
@ -324,7 +324,7 @@ threadNum(void)
|
|||||||
|
|
||||||
/* proc called by rxkad module to get a key */
|
/* proc called by rxkad module to get a key */
|
||||||
static int
|
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 */
|
/* find the key */
|
||||||
static struct afsconf_key tkey;
|
static struct afsconf_key tkey;
|
||||||
|
Loading…
Reference in New Issue
Block a user