summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-22 19:35:08 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-22 19:35:08 +0000
commitdf31d32b411022d130b078de177cfa40b7bf6cde (patch)
tree0604126022fcad298f377155a756b42e28882177 /libc/unistd
parentd98307c5af70386c4480deff87c7c9921d801c7c (diff)
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/exec.c1
-rw-r--r--libc/unistd/getopt-susv3.c1
-rw-r--r--libc/unistd/getsubopt.c1
-rw-r--r--libc/unistd/ualarm.c1
-rw-r--r--libc/unistd/usershell.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c
index 04549dd40..1e574825a 100644
--- a/libc/unistd/exec.c
+++ b/libc/unistd/exec.c
@@ -30,7 +30,6 @@
* to free the storage allocated for the copy. Better ideas anyone?
*/
-#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libc/unistd/getopt-susv3.c b/libc/unistd/getopt-susv3.c
index a73cdbc0a..b07016f58 100644
--- a/libc/unistd/getopt-susv3.c
+++ b/libc/unistd/getopt-susv3.c
@@ -30,7 +30,6 @@
* Initial version of a SUSv3 compliant getopt().
*/
-#define _GNU_SOURCE
#include <unistd.h>
#include <string.h>
#include <stdio.h>
diff --git a/libc/unistd/getsubopt.c b/libc/unistd/getsubopt.c
index c6c078f6f..dca8144dc 100644
--- a/libc/unistd/getsubopt.c
+++ b/libc/unistd/getsubopt.c
@@ -18,7 +18,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#include <stdlib.h>
#include <string.h>
diff --git a/libc/unistd/ualarm.c b/libc/unistd/ualarm.c
index ef023e8f3..07bea2a50 100644
--- a/libc/unistd/ualarm.c
+++ b/libc/unistd/ualarm.c
@@ -4,7 +4,6 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#define _GNU_SOURCE
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
diff --git a/libc/unistd/usershell.c b/libc/unistd/usershell.c
index ab84fe9f5..e053d94b7 100644
--- a/libc/unistd/usershell.c
+++ b/libc/unistd/usershell.c
@@ -30,7 +30,6 @@
* November 2002, Erik Andersen <andersen@codepoet.org>
*/
-#define _GNU_SOURCE
#include <sys/param.h>
#include <sys/file.h>
#include <sys/stat.h>