From 373d33b1085ae0f71c70f94ebd97ff6cfc6e025c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Oct 1997 04:39:53 +0000 Subject: [PATCH] (xalloc_fail_func): Initialize to 0, not NULL. --- lib/xmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 22b0910218..3d417f9274 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -63,7 +63,7 @@ int xalloc_exit_failure = EXIT_FAILURE; char *const xalloc_msg_memory_exhausted = N_("Memory exhausted"); /* FIXME: describe */ -void (*xalloc_fail_func) () = NULL; +void (*xalloc_fail_func) () = 0; #if __STDC__ && (HAVE_VPRINTF || HAVE_DOPRNT) void error (int, int, const char *, ...); -- 2.30.2