summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_thread_id.h')
-rw-r--r--src/nxt_thread_id.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nxt_thread_id.h b/src/nxt_thread_id.h
index 3263a47a..764c9934 100644
--- a/src/nxt_thread_id.h
+++ b/src/nxt_thread_id.h
@@ -179,12 +179,10 @@ NXT_EXPORT nxt_tid_t nxt_thread_tid(nxt_thread_t *thr);
typedef pthread_t nxt_thread_handle_t;
-#define \
-nxt_thread_handle_clear(th) \
+#define nxt_thread_handle_clear(th) \
th = (pthread_t) 0
-#define \
-nxt_thread_handle_equal(th0, th1) \
+#define nxt_thread_handle_equal(th0, th1) \
pthread_equal(th0, th1)