From: Jim Meyering Date: Sun, 26 Oct 1997 04:39:53 +0000 (+0000) Subject: (xalloc_fail_func): Initialize to 0, not NULL. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=373d33b1085ae0f71c70f94ebd97ff6cfc6e025c;p=pspp (xalloc_fail_func): Initialize to 0, not NULL. --- 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 *, ...);