# HG changeset patch # User Jim Meyering # Date 877840793 0 # Node ID d3582c7b620d49ab181eddd4b05020615003077e # Parent 691aa7b034a78db2af5b1cf6f48ebc99c68f422d (xalloc_fail_func): Initialize to 0, not NULL. diff --git a/lib/xmalloc.c b/lib/xmalloc.c --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -63,7 +63,7 @@ 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 *, ...);