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/LINK | |
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/LINK')
-rw-r--r-- | test/LINK/VersionedLib-VariantDir.py | 2 | ||||
-rw-r--r-- | test/LINK/VersionedLib-j2.py | 2 | ||||
-rw-r--r-- | test/LINK/VersionedLib-subdir.py | 2 |
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(); } |