diff options
author | Jim Meyering <jim@meyering.net> | 2000-02-27 17:40:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-02-27 17:40:53 +0000 |
commit | aee6c4988782151c6a5fc957d30b6471fb405c25 (patch) | |
tree | da76c448661de7decb7fd720f89ef4fa8b9e2989 /lib | |
parent | 8041fd530144d53b479fa50cadfb1bedf0352524 (diff) | |
download | coreutils-aee6c4988782151c6a5fc957d30b6471fb405c25.tar.xz |
Arrange for cpp to fail if the configure-time
declaration check was not run.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hash.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/hash.c b/lib/hash.c index e3e5f6bdc..b07e3e175 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -1,5 +1,5 @@ /* hash - hashing table processing. - Copyright (C) 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. Written by Jim Meyering, 1992. This program is free software; you can redistribute it and/or modify @@ -35,9 +35,16 @@ typedef enum {false = 0, true = 1} bool; #include <stdio.h> #include <assert.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 |