summaryrefslogtreecommitdiffstats
path: root/test/LINK
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/LINK
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/LINK')
-rw-r--r--test/LINK/VersionedLib-VariantDir.py2
-rw-r--r--test/LINK/VersionedLib-j2.py2
-rw-r--r--test/LINK/VersionedLib-subdir.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/LINK/VersionedLib-VariantDir.py b/test/LINK/VersionedLib-VariantDir.py
index 0350c6e..340fee0 100644
--- a/test/LINK/VersionedLib-VariantDir.py
+++ b/test/LINK/VersionedLib-VariantDir.py
@@ -65,7 +65,7 @@ test.write(['src','bin','main.c'], """
__declspec(dllimport)
#endif
int foo();
-int main()
+int main(void)
{
return foo();
}
diff --git a/test/LINK/VersionedLib-j2.py b/test/LINK/VersionedLib-j2.py
index 4646a37..ed3b7ff 100644
--- a/test/LINK/VersionedLib-j2.py
+++ b/test/LINK/VersionedLib-j2.py
@@ -57,7 +57,7 @@ test.write('main.c', """
__declspec(dllimport)
#endif
int foo();
-int main() { return foo(); }
+int main(void) { return foo(); }
""")
test.write('SConstruct', """
diff --git a/test/LINK/VersionedLib-subdir.py b/test/LINK/VersionedLib-subdir.py
index 91f3011..2271a54 100644
--- a/test/LINK/VersionedLib-subdir.py
+++ b/test/LINK/VersionedLib-subdir.py
@@ -58,7 +58,7 @@ test.write('main.c', """
__declspec(dllimport)
#endif
int foo();
-int main()
+int main(void)
{
return foo();
}