From: Karel Zak Date: Wed, 19 Sep 2007 22:57:01 +0000 (+0200) Subject: build-sys: remove hardcoded _GNU_SOURCE X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf928360f292178c498aa6c87b5614bbd28feaed;p=util-linux 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 --- 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