[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac/pdefs.h

John Criswell criswell at cs.uiuc.edu
Fri Jul 30 14:35:47 PDT 2004



Changes in directory llvm/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac:

pdefs.h updated: 1.1 -> 1.2

---
Log message:

Modified the external declaration of malloc() to match Solaris, Linux,
and FreeBSD (minus command line parameters).  This should fix build problems
on Fedora Core 1 systems.



---
Diffs of the changes:  (+1 -1)

Index: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac/pdefs.h
diff -u llvm/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac/pdefs.h:1.1 llvm/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac/pdefs.h:1.2
--- llvm/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac/pdefs.h:1.1	Thu Feb 19 15:46:33 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac/pdefs.h	Fri Jul 30 16:35:36 2004
@@ -24,7 +24,7 @@
 #define allocate(size)	(char *) gc_malloc_atomic(size)
 
 #    else
-extern char *malloc();
+extern void *malloc();
 #define allocate(size)	(char *) malloc(size)
 #    endif
 





More information about the llvm-commits mailing list