[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/McGill/exptree.c

Reid Spencer reid at x10sys.com
Tue Nov 14 10:35:06 PST 2006



Changes in directory llvm-test/SingleSource/Benchmarks/McGill:

exptree.c updated: 1.1 -> 1.2
---
Log message:

Shut gcc up about main not returning int.


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

 exptree.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm-test/SingleSource/Benchmarks/McGill/exptree.c
diff -u llvm-test/SingleSource/Benchmarks/McGill/exptree.c:1.1 llvm-test/SingleSource/Benchmarks/McGill/exptree.c:1.2
--- llvm-test/SingleSource/Benchmarks/McGill/exptree.c:1.1	Tue Oct  5 15:58:37 2004
+++ llvm-test/SingleSource/Benchmarks/McGill/exptree.c	Tue Nov 14 12:34:51 2006
@@ -381,8 +381,9 @@
     doSearch();
 }
 
-void main( int argc, char *argv[] )
+int main( int argc, char *argv[] )
 {
     if( getInput() )
 	search();
+    return 0;
 }






More information about the llvm-commits mailing list