[llvm-commits] [test-suite] r54747 - /test-suite/trunk/SingleSource/Benchmarks/Dhrystone/dry.c

Dan Gohman gohman at apple.com
Wed Aug 13 12:00:41 PDT 2008


Author: djg
Date: Wed Aug 13 14:00:25 2008
New Revision: 54747

URL: http://llvm.org/viewvc/llvm-project?rev=54747&view=rev
Log:
Use <stdlib.h>, fixing an infelicity on platforms where
size_t is not unsigned int.

Modified:
    test-suite/trunk/SingleSource/Benchmarks/Dhrystone/dry.c

Modified: test-suite/trunk/SingleSource/Benchmarks/Dhrystone/dry.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Dhrystone/dry.c?rev=54747&r1=54746&r2=54747&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Dhrystone/dry.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Dhrystone/dry.c Wed Aug 13 14:00:25 2008
@@ -80,8 +80,7 @@
 
 /*#include "defns.h"*/
 
-void *malloc(unsigned);
-void free(void*);
+#include <stdlib.h>
 
 /* Define if should use homemade str* functions. */
 
@@ -154,7 +153,6 @@
 typedef RecordType *	RecordPtr;
 typedef int		boolean;
 
-#define	NULL		0
 #define	TRUE		1
 #define	FALSE		0
 





More information about the llvm-commits mailing list