summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-12 07:35:00 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-12 07:35:00 +0000
commit4c71ca6b5ffe6dfba24da7607212a38dc90a0141 (patch)
treef5e79260e99c5dfb64b08a943b3a2694079a5872 /src/target
parent61cba7e0e6dae78ff257bef546e6783c4b634ad4 (diff)
downloadopenocd+libswd-4c71ca6b5ffe6dfba24da7607212a38dc90a0141.tar.gz
openocd+libswd-4c71ca6b5ffe6dfba24da7607212a38dc90a0141.tar.bz2
openocd+libswd-4c71ca6b5ffe6dfba24da7607212a38dc90a0141.tar.xz
openocd+libswd-4c71ca6b5ffe6dfba24da7607212a38dc90a0141.zip
Define _GNU_SOURCE in config.h, remove definitions from source files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1757 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/oocd_trace.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/target/oocd_trace.c b/src/target/oocd_trace.c
index dc96d13f..d54766ae 100644
--- a/src/target/oocd_trace.c
+++ b/src/target/oocd_trace.c
@@ -21,11 +21,6 @@
#include "config.h"
#endif
-// we must define _GNU_SOURCE to get strndup
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
-
#include "oocd_trace.h"
#include "arm7_9_common.h"