summaryrefslogtreecommitdiff
path: root/libc/misc/search
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/misc/search
parentd98307c5af70386c4480deff87c7c9921d801c7c (diff)
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt
Diffstat (limited to 'libc/misc/search')
-rw-r--r--libc/misc/search/hsearch.c4
-rw-r--r--libc/misc/search/hsearch_r.c4
-rw-r--r--libc/misc/search/insremque.c4
-rw-r--r--libc/misc/search/tsearch.c1
4 files changed, 0 insertions, 13 deletions
diff --git a/libc/misc/search/hsearch.c b/libc/misc/search/hsearch.c
index 3370545fd..b1228e2ee 100644
--- a/libc/misc/search/hsearch.c
+++ b/libc/misc/search/hsearch.c
@@ -17,10 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
-
#include <search.h>
libc_hidden_proto(hdestroy_r)
diff --git a/libc/misc/search/hsearch_r.c b/libc/misc/search/hsearch_r.c
index e7ded795f..7933f2d6f 100644
--- a/libc/misc/search/hsearch_r.c
+++ b/libc/misc/search/hsearch_r.c
@@ -17,10 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
-
#include <errno.h>
#include <malloc.h>
#include <string.h>
diff --git a/libc/misc/search/insremque.c b/libc/misc/search/insremque.c
index 29e547ff3..32edf7a4e 100644
--- a/libc/misc/search/insremque.c
+++ b/libc/misc/search/insremque.c
@@ -17,11 +17,7 @@
Boston, MA 02111-1307, USA. */
#include <features.h>
-#define __USE_GNU
#include <stddef.h>
-#ifndef _SVID_SOURCE
-#define _SVID_SOURCE 1
-#endif
#include <search.h>
#ifdef L_insque
diff --git a/libc/misc/search/tsearch.c b/libc/misc/search/tsearch.c
index d66a5c422..01ecb288b 100644
--- a/libc/misc/search/tsearch.c
+++ b/libc/misc/search/tsearch.c
@@ -28,7 +28,6 @@ Cambridge, MA 02139, USA. */
*/
/*LINTLIBRARY*/
-#define _GNU_SOURCE
#include <search.h>
#include <stdlib.h>