From 1fb9979eb8b4db7a32d311a9a7323a681b68ee14 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 22 Jan 2015 14:18:10 -0500 Subject: Move a redundant _GNU_SOURCE to where it is not redundant --- src/common/compat_pthreads.c | 2 ++ src/common/compat_threads.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/compat_pthreads.c b/src/common/compat_pthreads.c index e1d4b0e79b..f4a6cad154 100644 --- a/src/common/compat_pthreads.c +++ b/src/common/compat_pthreads.c @@ -3,6 +3,8 @@ * Copyright (c) 2007-2015, The Tor Project, Inc. */ /* See LICENSE for licensing information */ +#define _GNU_SOURCE + #include "orconfig.h" #include #include diff --git a/src/common/compat_threads.c b/src/common/compat_threads.c index 3b79292cdb..ba21c951fa 100644 --- a/src/common/compat_threads.c +++ b/src/common/compat_threads.c @@ -6,7 +6,6 @@ #define _GNU_SOURCE #include "orconfig.h" -#define _GNU_SOURCE #include #include "compat.h" #include "compat_threads.h" -- cgit v1.2.3-54-g00ecf