]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(free, malloc): Remove decls.
authorJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:48:43 +0000 (08:48 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:48:43 +0000 (08:48 +0000)
Include <stdlib.h> unconditionally.

lib/hash.c

index 7373a011ceceef9f94faa1c5a55d1409139b7e52..3948ce4cf69d3b4dfaeaa3e79c8f44883d8befec 100644 (file)
 #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"