summaryrefslogtreecommitdiff
path: root/libc/misc/search
diff options
context:
space:
mode:
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>