From 552e0b852e3eb7b860e530fa59ee87f6c3e033e5 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 22 Aug 2020 10:22:47 +1000 Subject: [PATCH] isc_mutex_init_errcheck prototype should not be under ISC_MUTEX_PROFILE --- lib/isc/pthreads/include/isc/mutex.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/isc/pthreads/include/isc/mutex.h b/lib/isc/pthreads/include/isc/mutex.h index d4488e2876..b7ce60d04c 100644 --- a/lib/isc/pthreads/include/isc/mutex.h +++ b/lib/isc/pthreads/include/isc/mutex.h @@ -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 */