[llvm-commits] CVS: llvm/test/Programs/SingleSource/Benchmarks/Shootout/heapsort.c

Brian Gaeke gaeke at cs.uiuc.edu
Wed Oct 15 12:37:01 PDT 2003


Changes in directory llvm/test/Programs/SingleSource/Benchmarks/Shootout:

heapsort.c updated: 1.1 -> 1.2

---
Log message:

BSD has a standard C library function called heapsort... dumb, but at least
there's an easy workaround.


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

Index: llvm/test/Programs/SingleSource/Benchmarks/Shootout/heapsort.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Shootout/heapsort.c:1.1 llvm/test/Programs/SingleSource/Benchmarks/Shootout/heapsort.c:1.2
--- llvm/test/Programs/SingleSource/Benchmarks/Shootout/heapsort.c:1.1	Fri Dec 14 10:57:14 2001
+++ llvm/test/Programs/SingleSource/Benchmarks/Shootout/heapsort.c	Wed Oct 15 12:36:36 2003
@@ -1,11 +1,12 @@
 /* -*- mode: c -*-
- * $Id: heapsort.c,v 1.1 2001/12/14 16:57:14 lattner Exp $
+ * $Id: heapsort.c,v 1.2 2003/10/15 17:36:36 gaeke Exp $
  * http://www.bagley.org/~doug/shootout/
  */
 
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>
+#define heapsort benchmark_heapsort
 
 #define IM 139968
 #define IA   3877





More information about the llvm-commits mailing list