From: Jim Meyering Date: Sun, 27 Feb 2000 17:40:53 +0000 (+0000) Subject: Arrange for cpp to fail if the configure-time X-Git-Tag: FILEUTILS-4_0q~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aee6c4988782151c6a5fc957d30b6471fb405c25;p=thirdparty%2Fcoreutils.git Arrange for cpp to fail if the configure-time declaration check was not run. --- diff --git a/lib/hash.c b/lib/hash.c index e3e5f6bdc8..b07e3e1753 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 #include +#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