Portability fix, thanks to Markus F.X.J. Oberhumer.
authorChris Lattner <sabre@nondot.org>
Thu, 16 Dec 2004 04:56:34 +0000 (04:56 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 16 Dec 2004 04:56:34 +0000 (04:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18977 91177308-0d34-0410-b5e6-96231b3b80d8

utils/Burg/zalloc.c

index 9128e4280f20b73c6e12418a2d4818d71d1265be..526c52d85d3c2b3c4122c1959b7c322a93af313c 100644 (file)
@@ -2,12 +2,9 @@ char rcsid_zalloc[] = "$Id$";
 
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 #include "b.h"
 
-extern void exit ARGS((int));
-extern void free ARGS((void *));
-extern void *malloc ARGS((unsigned));
-
 int
 fatal(const char *name, int line)
 {