summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-09-01 13:09:19 +0000
committerJim Meyering <jim@meyering.net>1999-09-01 13:09:19 +0000
commit5790705b19ddba366e881eaf87ac5a05a712454e (patch)
tree7b871652e99a0882dfb759b3c47a2733e47dc5ce /lib
parentfa36ee7ea21818d58402d629e316af54d4581d83 (diff)
downloadcoreutils-5790705b19ddba366e881eaf87ac5a05a712454e.tar.xz
(xalloc_fail_func): Use `PARAMS'.
Diffstat (limited to 'lib')
-rw-r--r--lib/xmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmalloc.c b/lib/xmalloc.c
index 696cf3c9a..72aa77279 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. */