From 52a715b122908bda6fa17e5afa057bd5b2cd476d 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 6c34a69c47..9da9e439c1 100644 --- a/lib/isc/pthreads/include/isc/mutex.h +++ b/lib/isc/pthreads/include/isc/mutex.h @@ -128,11 +128,10 @@ isc_mutex_unlock_profile(isc_mutex_t *mp, const char * _file, int _line); void isc_mutex_statsprofile(FILE *fp); +#endif /* ISC_MUTEX_PROFILE */ isc_result_t isc_mutex_init_errcheck(isc_mutex_t *mp); -#endif /* ISC_MUTEX_PROFILE */ - ISC_LANG_ENDDECLS #endif /* ISC_MUTEX_H */