diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 08:48:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 08:48:43 +0000 |
commit | 9f8cacb16fb440a9e193fcedaf7ba47bb6a14491 (patch) | |
tree | a3ed97dd6582773346a7febbe1821a53b63586ab | |
parent | 156136264062168dbbc5bbce143488cbe3c60ba6 (diff) | |
download | coreutils-9f8cacb16fb440a9e193fcedaf7ba47bb6a14491.tar.xz |
(free, malloc): Remove decls.
Include <stdlib.h> unconditionally.
-rw-r--r-- | lib/hash.c | 18 |
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" |