From bf928360f292178c498aa6c87b5614bbd28feaed Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 20 Sep 2007 00:57:01 +0200 Subject: [PATCH] build-sys: remove hardcoded _GNU_SOURCE We have AC_GNU_SOURCE, so we needn't any extra hardcoded _GNU_SOURCE. Signed-off-by: Karel Zak --- disk-utils/fsck.cramfs.c | 1 - schedutils/chrt.c | 2 -- schedutils/taskset.c | 2 -- sys-utils/setarch.c | 4 ---- 4 files changed, 9 deletions(-) diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c index 68bbf518..117ee6e2 100644 --- a/disk-utils/fsck.cramfs.c +++ b/disk-utils/fsck.cramfs.c @@ -36,7 +36,6 @@ /* compile-time options */ //#define INCLUDE_FS_TESTS /* include cramfs checking and extraction */ -#define _GNU_SOURCE #include #include #include diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 30892d8b..ba07dbe1 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -21,8 +21,6 @@ * Copyright (C) 2004 Robert Love */ -#define _GNU_SOURCE - #include #include #include diff --git a/schedutils/taskset.c b/schedutils/taskset.c index 96ae3d3d..7abb9cbb 100644 --- a/schedutils/taskset.c +++ b/schedutils/taskset.c @@ -26,8 +26,6 @@ * Copyright (C) 2004 Robert Love */ -#define _GNU_SOURCE - #include #include #include diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c index 301b79e7..5379c307 100644 --- a/sys-utils/setarch.c +++ b/sys-utils/setarch.c @@ -24,10 +24,6 @@ * sparc32 util by Jakub Jelinek (1998, 1999) */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE -#endif - #include #include #include -- 2.39.5