From aee6c4988782151c6a5fc957d30b6471fb405c25 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 27 Feb 2000 17:40:53 +0000 Subject: Arrange for cpp to fail if the configure-time declaration check was not run. --- lib/hash.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib') 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 #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 -- cgit v1.2.3-54-g00ecf