aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-18 14:18:28 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commitfd2c06ea86984102361f0ae3444c0ae8c178069a (patch)
tree1ca842506d4ddc4493708d569e67f5ac83236f9d
parentf5fca86eb191f41dfc45cf5c7f17e9ffd73d0287 (diff)
Move stderr_lock prototype to utils.h
-rw-r--r--libcrystfel/src/thread-pool.h1
-rw-r--r--libcrystfel/src/utils.h1
2 files changed, 1 insertions, 1 deletions
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,