[llvm-commits] CVS: llvm/utils/Burg/zalloc.c

Chris Lattner lattner at cs.uiuc.edu
Wed Dec 15 20:56:49 PST 2004



Changes in directory llvm/utils/Burg:

zalloc.c updated: 1.2 -> 1.3
---
Log message:

Portability fix, thanks to Markus F.X.J. Oberhumer.


---
Diffs of the changes:  (+2 -5)

Index: llvm/utils/Burg/zalloc.c
diff -u llvm/utils/Burg/zalloc.c:1.2 llvm/utils/Burg/zalloc.c:1.3
--- llvm/utils/Burg/zalloc.c:1.2	Sat Sep 21 21:40:40 2002
+++ llvm/utils/Burg/zalloc.c	Wed Dec 15 22:56:34 2004
@@ -1,13 +1,10 @@
-char rcsid_zalloc[] = "$Id: zalloc.c,v 1.2 2002/09/22 02:40:40 lattner Exp $";
+char rcsid_zalloc[] = "$Id: zalloc.c,v 1.3 2004/12/16 04:56:34 lattner Exp $";
 
 #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)
 {






More information about the llvm-commits mailing list