summaryrefslogtreecommitdiff
path: root/libc/misc/search/hsearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/search/hsearch.c')
-rw-r--r--libc/misc/search/hsearch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/search/hsearch.c b/libc/misc/search/hsearch.c
index a9400f3ca..b369408cb 100644
--- a/libc/misc/search/hsearch.c
+++ b/libc/misc/search/hsearch.c
@@ -17,16 +17,16 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define hdestroy_r __hdestroy_r
-#define hsearch_r __hsearch_r
-#define hcreate_r __hcreate_r
-
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <search.h>
+libc_hidden_proto(hdestroy_r)
+libc_hidden_proto(hsearch_r)
+libc_hidden_proto(hcreate_r)
+
/* The non-reentrant version use a global space for storing the table. */
static struct hsearch_data htab;