diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-01-22 14:18:10 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-22 14:18:10 -0500 |
commit | 1fb9979eb8b4db7a32d311a9a7323a681b68ee14 (patch) | |
tree | 39195cf66f7aee4ef1d595cc4658c10ec61ec9d5 | |
parent | 38b3f9a619a7e34cb0fe778235afb91953c84fe7 (diff) | |
download | tor-1fb9979eb8b4db7a32d311a9a7323a681b68ee14.tar.gz tor-1fb9979eb8b4db7a32d311a9a7323a681b68ee14.zip |
Move a redundant _GNU_SOURCE to where it is not redundant
-rw-r--r-- | src/common/compat_pthreads.c | 2 | ||||
-rw-r--r-- | src/common/compat_threads.c | 1 |
2 files changed, 2 insertions, 1 deletions
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 <pthread.h> #include <signal.h> 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 <stdlib.h> #include "compat.h" #include "compat_threads.h" |