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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92065733b4a3d2b834da799309dbb2730d9cc5e4;p=pspp 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