[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/McCat/17-bintr/bnchmrk.c
Evan Cheng
evan.cheng at apple.com
Tue Nov 28 09:35:34 PST 2006
Changes in directory llvm-test/MultiSource/Benchmarks/McCat/17-bintr:
bnchmrk.c updated: 1.1 -> 1.2
---
Log message:
Fix undefined behavior, main should return 0 if executed correctly.
---
Diffs of the changes: (+2 -2)
bnchmrk.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm-test/MultiSource/Benchmarks/McCat/17-bintr/bnchmrk.c
diff -u llvm-test/MultiSource/Benchmarks/McCat/17-bintr/bnchmrk.c:1.1 llvm-test/MultiSource/Benchmarks/McCat/17-bintr/bnchmrk.c:1.2
--- llvm-test/MultiSource/Benchmarks/McCat/17-bintr/bnchmrk.c:1.1 Mon May 12 13:34:21 2003
+++ llvm-test/MultiSource/Benchmarks/McCat/17-bintr/bnchmrk.c Tue Nov 28 11:35:14 2006
@@ -100,7 +100,7 @@
/**************************************************************************************/
-main()
+int main()
/**************************************************************************************/
{
struct binaryTree* tree = NULL;
@@ -145,7 +145,7 @@
printf( "\n\nEnd of program\n" );
-
+ return 0;
}
/**************************************************************************************/
More information about the llvm-commits
mailing list