(xalloc_fail_func): Use `PARAMS'.
authorJim Meyering <jim@meyering.net>
Wed, 1 Sep 1999 13:09:19 +0000 (13:09 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 1 Sep 1999 13:09:19 +0000 (13:09 +0000)
lib/xmalloc.c

index 696cf3c9a280bd22da7112c8e1794303fe6cd377..72aa7727956e251e2d737cbe68427f4e9de490dc 100644 (file)
@@ -59,7 +59,7 @@ you must run the autoconf test for a properly working realloc -- see realloc.m4
 int xalloc_exit_failure = EXIT_FAILURE;
 
 /* If non NULL, call this function when memory is exhausted. */
-void (*xalloc_fail_func) () = 0;
+void (*xalloc_fail_func) PARAMS ((void)) = 0;
 
 /* If XALLOC_FAIL_FUNC is NULL, or does return, display this message
    before exiting when memory is exhausted.  Goes through gettext. */