[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Shootout/ackermann.c
Jeff Cohen
jeffc at jolt-lang.org
Tue Mar 27 21:46:48 PDT 2007
Changes in directory llvm-test/SingleSource/Benchmarks/Shootout:
ackermann.c updated: 1.4 -> 1.5
---
Log message:
User-supplied prototype for printf *very* non-portable.
---
Diffs of the changes: (+3 -3)
ackermann.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm-test/SingleSource/Benchmarks/Shootout/ackermann.c
diff -u llvm-test/SingleSource/Benchmarks/Shootout/ackermann.c:1.4 llvm-test/SingleSource/Benchmarks/Shootout/ackermann.c:1.5
--- llvm-test/SingleSource/Benchmarks/Shootout/ackermann.c:1.4 Mon Sep 20 13:55:11 2004
+++ llvm-test/SingleSource/Benchmarks/Shootout/ackermann.c Tue Mar 27 23:46:30 2007
@@ -1,10 +1,10 @@
/* -*- mode: c -*-
- * $Id: ackermann.c,v 1.4 2004/09/20 18:55:11 gaeke Exp $
+ * $Id: ackermann.c,v 1.5 2007/03/28 04:46:30 jeffc Exp $
* http://www.bagley.org/~doug/shootout/
*/
-int printf(const char *, int, int);
-int atoi(const char *);
+#include <stdio.h>
+#include <stdlib.h>
int
Ack(int M, int N) {
More information about the llvm-commits
mailing list