summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-10 08:48:43 +0000
committerJim Meyering <jim@meyering.net>2003-09-10 08:48:43 +0000
commit9f8cacb16fb440a9e193fcedaf7ba47bb6a14491 (patch)
treea3ed97dd6582773346a7febbe1821a53b63586ab
parent156136264062168dbbc5bbce143488cbe3c60ba6 (diff)
downloadcoreutils-9f8cacb16fb440a9e193fcedaf7ba47bb6a14491.tar.xz
(free, malloc): Remove decls.
Include <stdlib.h> unconditionally.
-rw-r--r--lib/hash.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 7373a011c..3948ce4cf 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -27,27 +27,11 @@
#if HAVE_CONFIG_H
# include <config.h>
#endif
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
-
-#ifndef HAVE_DECL_FREE
-"this configure-time declaration test was not run"
-#endif
-#if !HAVE_DECL_FREE
-void free ();
-#endif
-
-#ifndef HAVE_DECL_MALLOC
-"this configure-time declaration test was not run"
-#endif
-#if !HAVE_DECL_MALLOC
-char *malloc ();
-#endif
+#include <stdlib.h>
#if USE_OBSTACK
# include "obstack.h"