]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
init_krb5_lock is void
authorAndrew Deason <adeason@sinenomine.net>
Wed, 10 Jul 2013 17:52:58 +0000 (12:52 -0500)
committerRuss Allbery <rra@debian.org>
Thu, 25 Jul 2013 04:04:16 +0000 (21:04 -0700)
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

index 99c1aa9d946c624a274b73ab4edf470a4dabce89..0276ac99cfe843f5ac874a2c70ca27c5de2acf23 100644 (file)
@@ -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);