summaryrefslogtreecommitdiffstats
path: root/test/MSVC
diff options
context:
space:
mode:
authorJonathon Reinhart <Jonathon.Reinhart@gmail.com>2018-02-10 04:49:36 (GMT)
committerJonathon Reinhart <Jonathon.Reinhart@gmail.com>2018-02-11 23:13:26 (GMT)
commit090107e5282cdbff7481a52467b9abcba5a9652d (patch)
treefa27dd177c482671e9c9487c7e0bb9c961967310 /test/MSVC
parent8c41b52ca3d502bfd0444bf2640e345fb7b2ae9d (diff)
downloadSCons-090107e5282cdbff7481a52467b9abcba5a9652d.zip
SCons-090107e5282cdbff7481a52467b9abcba5a9652d.tar.gz
SCons-090107e5282cdbff7481a52467b9abcba5a9652d.tar.bz2
Replace all instances of `int main()` with `int main(void)`
Diffstat (limited to 'test/MSVC')
-rw-r--r--test/MSVC/pch-basics.py2
-rw-r--r--test/MSVC/pch-spaces-subdir.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/MSVC/pch-basics.py b/test/MSVC/pch-basics.py
index 45735ed..ebee0da 100644
--- a/test/MSVC/pch-basics.py
+++ b/test/MSVC/pch-basics.py
@@ -39,7 +39,7 @@ test.skip_if_not_msvc()
test.write('Main.cpp', """\
#include "Precompiled.h"
-int main()
+int main(void)
{
return testf();
}
diff --git a/test/MSVC/pch-spaces-subdir.py b/test/MSVC/pch-spaces-subdir.py
index 3a65b44..65595fc 100644
--- a/test/MSVC/pch-spaces-subdir.py
+++ b/test/MSVC/pch-spaces-subdir.py
@@ -39,7 +39,7 @@ test.skip_if_not_msvc()
test.write('Main.cpp', """\
#include "Precompiled.h"
-int main()
+int main(void)
{
return testf();
}