Arrange for cpp to fail if the configure-time
authorJim Meyering <jim@meyering.net>
Sun, 27 Feb 2000 17:40:53 +0000 (17:40 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 27 Feb 2000 17:40:53 +0000 (17:40 +0000)
declaration check was not run.

lib/hash.c

index e3e5f6b..b07e3e1 100644 (file)
@@ -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