From eb5fa8bdd256b243aefd4918857f6c3260d9bbdc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Oct 1997 04:39:53 +0000 Subject: (xalloc_fail_func): Initialize to 0, not NULL. --- lib/xmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xmalloc.c') diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 22b091021..3d417f927 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 *, ...); -- cgit v1.2.3-54-g00ecf