[llvm-commits] [test-suite] r96860 - /test-suite/trunk/MultiSource/Applications/Burg/main.c
Daniel Dunbar
daniel at zuster.org
Mon Feb 22 18:09:27 PST 2010
Author: ddunbar
Date: Mon Feb 22 20:09:27 2010
New Revision: 96860
URL: http://llvm.org/viewvc/llvm-project?rev=96860&view=rev
Log:
main() should return int.
Modified:
test-suite/trunk/MultiSource/Applications/Burg/main.c
Modified: test-suite/trunk/MultiSource/Applications/Burg/main.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/Burg/main.c?rev=96860&r1=96859&r2=96860&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/Burg/main.c (original)
+++ test-suite/trunk/MultiSource/Applications/Burg/main.c Mon Feb 22 20:09:27 2010
@@ -15,9 +15,9 @@
static char version[] = "BURG, Version 1.0";
-extern void main ARGS((int argc, char **argv));
+extern int main ARGS((int argc, char **argv));
-void
+int
main(argc, argv) int argc; char **argv;
{
int i;
@@ -179,4 +179,5 @@
yypurge();
exit(0);
+ return 0;
}
More information about the llvm-commits
mailing list