summaryrefslogtreecommitdiff
path: root/libc/misc/search
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-19 01:13:18 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:28 +0200
commitf8942a121c022cf48e5bfbc6122f28219b36751f (patch)
treefddc4372fdc3bb9ccaae08dddf3d9ffe07f979f5 /libc/misc/search
parenta5173428bbf42060944d0a09d65fb8518ab2fa3a (diff)
_hsearch_r.c: use stdlib.h instead of malloc.h for calloc
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/search')
-rw-r--r--libc/misc/search/_hsearch_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/search/_hsearch_r.c b/libc/misc/search/_hsearch_r.c
index bfe3efed5..24f20e1a8 100644
--- a/libc/misc/search/_hsearch_r.c
+++ b/libc/misc/search/_hsearch_r.c
@@ -18,7 +18,7 @@
02111-1307 USA. */
#include <errno.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include <search.h>