From: Andrew Deason Date: Wed, 10 Jul 2013 17:52:58 +0000 (-0500) Subject: init_krb5_lock is void X-Git-Tag: debian/1.4.12.1+dfsg-4+squeeze2~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=150fe20a0cd361278bd0f332f2df6246fbbef3b8;p=packages%2Fo%2Fopenafs.git init_krb5_lock is void 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" --- diff --git a/src/rxkad/ticket5_keytab.c b/src/rxkad/ticket5_keytab.c index 99c1aa9d9..0276ac99c 100644 --- 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);