]> err.no Git - util-linux/commitdiff
build-sys: remove hardcoded _GNU_SOURCE
authorKarel Zak <kzak@redhat.com>
Wed, 19 Sep 2007 22:57:01 +0000 (00:57 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 16 Nov 2007 11:53:47 +0000 (12:53 +0100)
We have AC_GNU_SOURCE, so we needn't any extra hardcoded _GNU_SOURCE.

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fsck.cramfs.c
schedutils/chrt.c
schedutils/taskset.c
sys-utils/setarch.c

index 68bbf518fa723459357726210c5a17dd990aa2e7..117ee6e2f23360fb74d55adccdba260503cb12a4 100644 (file)
@@ -36,7 +36,6 @@
 /* compile-time options */
 //#define INCLUDE_FS_TESTS     /* include cramfs checking and extraction */
 
-#define _GNU_SOURCE
 #include <stdio.h>
 #include <stdarg.h>
 #include <unistd.h>
index 30892d8bc5cba05ec73711bebaa8147a2511ca3e..ba07dbe1a93026afc662c503d4c6357e9134c145 100644 (file)
@@ -21,8 +21,6 @@
  * Copyright (C) 2004 Robert Love
  */
 
-#define _GNU_SOURCE
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <sched.h>
index 96ae3d3d28df81723c3ea27f403c14f85d03ded7..7abb9cbb431708697e54d9313ecfd1a38bb374f7 100644 (file)
@@ -26,8 +26,6 @@
  * Copyright (C) 2004 Robert Love
  */
 
-#define _GNU_SOURCE
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index e26a058657339ce8699f0bb8576412f9e8985250..a72b5f082fb5c4bec6fa6d8bb6bac87d3111196e 100644 (file)
  * sparc32 util by Jakub Jelinek (1998, 1999)
  */
 
-#ifndef _GNU_SOURCE
-#  define _GNU_SOURCE
-#endif
-
 #include <syscall.h>
 #include <linux/personality.h>
 #include <unistd.h>