remove fixup_null_alloc prototype
authorJim Meyering <jim@meyering.net>
Sat, 15 Nov 1997 17:18:01 +0000 (17:18 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Nov 1997 17:18:01 +0000 (17:18 +0000)
lib/xmalloc.c

index d2996a0..204469f 100644 (file)
@@ -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;
 }