diff options
author | Jonathon Reinhart <Jonathon.Reinhart@gmail.com> | 2018-02-10 04:49:36 (GMT) |
---|---|---|
committer | Jonathon Reinhart <Jonathon.Reinhart@gmail.com> | 2018-02-11 23:13:26 (GMT) |
commit | 090107e5282cdbff7481a52467b9abcba5a9652d (patch) | |
tree | fa27dd177c482671e9c9487c7e0bb9c961967310 /test/YACC | |
parent | 8c41b52ca3d502bfd0444bf2640e345fb7b2ae9d (diff) | |
download | SCons-090107e5282cdbff7481a52467b9abcba5a9652d.zip SCons-090107e5282cdbff7481a52467b9abcba5a9652d.tar.gz SCons-090107e5282cdbff7481a52467b9abcba5a9652d.tar.bz2 |
Replace all instances of `int main()` with `int main(void)`
Diffstat (limited to 'test/YACC')
-rw-r--r-- | test/YACC/live.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/YACC/live.py b/test/YACC/live.py index 253a387..6dd08f7 100644 --- a/test/YACC/live.py +++ b/test/YACC/live.py @@ -60,7 +60,7 @@ extern int yyparse(); int yyerror(char *s); int yylex(); -int main() +int main(void) { return yyparse(); } @@ -108,7 +108,7 @@ file_hpp = 'file.hpp' test.write("hello.cpp", """\ #include "%(file_hpp)s" -int main() +int main(void) { } """ % locals()) |