From: Jim Meyering Date: Sat, 15 Nov 1997 17:18:01 +0000 (+0000) Subject: remove fixup_null_alloc prototype X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=267a59868922aac05ec514a3ed7c1795c3d8d822;p=pspp remove fixup_null_alloc prototype --- diff --git a/lib/xmalloc.c b/lib/xmalloc.c index d2996a0600..204469f240 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -48,7 +48,6 @@ void free (); /* Prototypes for functions defined here. */ #if defined (__STDC__) && __STDC__ -static void *fixup_null_alloc (size_t n); void *xmalloc (size_t n); void *xcalloc (size_t n, size_t s); void *xrealloc (void *p, size_t n); @@ -127,7 +126,7 @@ xcalloc (n, s) p = calloc (n, s); if (p == 0) - p = fixup_null_alloc (n); + xalloc_fail (); return p; }