git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ad09c36
)
init_krb5_lock is void
author
Andrew Deason
<adeason@sinenomine.net>
Wed, 10 Jul 2013 17:52:58 +0000 (12:52 -0500)
committer
Simon Wilkinson
<sxw@your-file-system.com>
Wed, 24 Jul 2013 08:21:08 +0000 (09:21 +0100)
We don't return anything, and pthread_once expects a function
returning void. So make it actually void, to avoid warnings.
Merge into "New optional rxkad functionality for decypting krb5
tokens"
src/rxkad/ticket5_keytab.c
patch
|
blob
|
history
diff --git
a/src/rxkad/ticket5_keytab.c
b/src/rxkad/ticket5_keytab.c
index
99c1aa9
..
0276ac9
100644
(file)
--- a/
src/rxkad/ticket5_keytab.c
+++ b/
src/rxkad/ticket5_keytab.c
@@
-277,7
+277,7
@@
retry:
}
#ifdef RX_ENABLE_LOCKS
-static int
+static void
init_krb5_lock(void)
{
MUTEX_INIT(&krb5_lock, "krb5 api", MUTEX_DEFAULT, 0);