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
This commit is contained in:
zwelch
2009-05-12 07:35:00 +00:00
parent 61cba7e0e6
commit 4c71ca6b5f
3 changed files with 1 additions and 8 deletions

View File

@@ -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"