]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
isc_mutex_init_errcheck prototype should not be under ISC_MUTEX_PROFILE
authorMark Andrews <marka@isc.org>
Sat, 22 Aug 2020 00:22:47 +0000 (10:22 +1000)
committerMark Andrews <marka@isc.org>
Wed, 9 Sep 2020 06:22:38 +0000 (16:22 +1000)
(cherry picked from commit 552e0b852e3eb7b860e530fa59ee87f6c3e033e5)

lib/isc/pthreads/include/isc/mutex.h

index d4488e2876aca11328ec5733eea5ec90fa3080ee..b7ce60d04cd452cca3ad98dab1f3f31b31e07a88 100644 (file)
@@ -118,11 +118,10 @@ isc_mutex_unlock_profile(isc_mutex_t *mp, const char *_file, int _line);
 
 void
 isc_mutex_statsprofile(FILE *fp);
+#endif /* ISC_MUTEX_PROFILE */
 
 void
 isc_mutex_init_errcheck(isc_mutex_t *mp);
 
-#endif /* ISC_MUTEX_PROFILE */
-
 ISC_LANG_ENDDECLS
 #endif /* ISC_MUTEX_H */