]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Move a redundant _GNU_SOURCE to where it is not redundant
authorNick Mathewson <nickm@torproject.org>
Thu, 22 Jan 2015 19:18:10 +0000 (14:18 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 22 Jan 2015 19:18:10 +0000 (14:18 -0500)
src/common/compat_pthreads.c
src/common/compat_threads.c

index e1d4b0e79bdc686c5f4d145b67cd915bd1e5d9ec..f4a6cad154e71f11685a9a28dbd36d1bcd994187 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (c) 2007-2015, The Tor Project, Inc. */
 /* See LICENSE for licensing information */
 
+#define _GNU_SOURCE
+
 #include "orconfig.h"
 #include <pthread.h>
 #include <signal.h>
index 3b79292cdb7ce675214a5575827d38c29224e0d4..ba21c951faa07e240c5b68001193520becaa4af4 100644 (file)
@@ -6,7 +6,6 @@
 #define _GNU_SOURCE
 
 #include "orconfig.h"
-#define _GNU_SOURCE
 #include <stdlib.h>
 #include "compat.h"
 #include "compat_threads.h"