diff options
author | Jim Meyering <jim@meyering.net> | 1997-10-26 04:39:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-10-26 04:39:53 +0000 |
commit | eb5fa8bdd256b243aefd4918857f6c3260d9bbdc (patch) | |
tree | 1c281ab34d5634e521a9c202b741af1267626648 | |
parent | 6f82682a6455f66184ee19b259d19ba18b2f0387 (diff) | |
download | coreutils-eb5fa8bdd256b243aefd4918857f6c3260d9bbdc.tar.xz |
(xalloc_fail_func): Initialize to 0, not NULL.
-rw-r--r-- | lib/xmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 *, ...); |