(xalloc_fail_func): Initialize to 0, not NULL.
authorJim Meyering <jim@meyering.net>
Sun, 26 Oct 1997 04:39:53 +0000 (04:39 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Oct 1997 04:39:53 +0000 (04:39 +0000)
lib/xmalloc.c

index 22b09102184a4efb20004c668c8c1fcf23293c89..3d417f9274506d2e89ace8db8e94a88afb79f6e9 100644 (file)
@@ -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 *, ...);