From fd2c06ea86984102361f0ae3444c0ae8c178069a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 18 Mar 2020 14:18:28 +0100 Subject: Move stderr_lock prototype to utils.h --- libcrystfel/src/thread-pool.h | 1 - libcrystfel/src/utils.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libcrystfel/src/thread-pool.h b/libcrystfel/src/thread-pool.h index 16fb38bf..a62dd08a 100644 --- a/libcrystfel/src/thread-pool.h +++ b/libcrystfel/src/thread-pool.h @@ -40,7 +40,6 @@ extern "C" { #endif -extern pthread_mutex_t stderr_lock; extern signed int get_status_label(void); /** diff --git a/libcrystfel/src/utils.h b/libcrystfel/src/utils.h index fcdde453..b5f07f26 100644 --- a/libcrystfel/src/utils.h +++ b/libcrystfel/src/utils.h @@ -195,6 +195,7 @@ static inline int within_tolerance(double a, double b, double percent) /* ------------------------------ Message logging ---------------------------- */ +extern pthread_mutex_t stderr_lock; enum log_msg_type { LOG_MSG_STATUS, -- cgit v1.2.3