From: Jim Meyering Date: Wed, 1 Sep 1999 13:09:19 +0000 (+0000) Subject: (xalloc_fail_func): Use `PARAMS'. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=501a5df5e35569e0c8ded110e9137bbebaa8c661;p=pspp (xalloc_fail_func): Use `PARAMS'. --- diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 696cf3c9a2..72aa772795 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -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. */