From 43ca3e25466b063fa4ec63b59c4379dd38b40183 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 19 Apr 2013 18:57:50 +0300 Subject: [PATCH] Fixed Windows garbage line endings. --- test cases/windows/1 basic/meson.build | 8 +++---- test cases/windows/1 basic/prog.c | 10 ++++----- test cases/windows/2 winmain/meson.build | 8 +++---- test cases/windows/2 winmain/prog.c | 20 ++++++++--------- test cases/windows/3 cpp/meson.build | 8 +++---- test cases/windows/3 cpp/prog.cpp | 14 ++++++------ test cases/windows/4 winmaincpp/meson.build | 8 +++---- test cases/windows/4 winmaincpp/prog.cpp | 24 ++++++++++----------- 8 files changed, 50 insertions(+), 50 deletions(-) diff --git a/test cases/windows/1 basic/meson.build b/test cases/windows/1 basic/meson.build index fc9f0b12c..fcbc557a3 100644 --- a/test cases/windows/1 basic/meson.build +++ b/test cases/windows/1 basic/meson.build @@ -1,4 +1,4 @@ -project('wintest', 'c') - -prog = executable('prog', 'prog.c') -add_test('wintest', prog) +project('wintest', 'c') + +prog = executable('prog', 'prog.c') +add_test('wintest', prog) diff --git a/test cases/windows/1 basic/prog.c b/test cases/windows/1 basic/prog.c index 501afd641..8703980e7 100644 --- a/test cases/windows/1 basic/prog.c +++ b/test cases/windows/1 basic/prog.c @@ -1,5 +1,5 @@ -#include - -int main(int argc, char **argv) { - return 0; -} +#include + +int main(int argc, char **argv) { + return 0; +} diff --git a/test cases/windows/2 winmain/meson.build b/test cases/windows/2 winmain/meson.build index 1289456a8..46edf35cc 100644 --- a/test cases/windows/2 winmain/meson.build +++ b/test cases/windows/2 winmain/meson.build @@ -1,4 +1,4 @@ -project('winmain', 'c') - -exe = executable('prog', 'prog.c') -add_test('winmain', exe) +project('winmain', 'c') + +exe = executable('prog', 'prog.c') +add_test('winmain', exe) diff --git a/test cases/windows/2 winmain/prog.c b/test cases/windows/2 winmain/prog.c index 53fd8c5ef..77d698206 100644 --- a/test cases/windows/2 winmain/prog.c +++ b/test cases/windows/2 winmain/prog.c @@ -1,10 +1,10 @@ -#include - -int APIENTRY -WinMain( - HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPSTR lpszCmdLine, - int nCmdShow) { - return 0; -} +#include + +int APIENTRY +WinMain( + HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPSTR lpszCmdLine, + int nCmdShow) { + return 0; +} diff --git a/test cases/windows/3 cpp/meson.build b/test cases/windows/3 cpp/meson.build index a645ab5ff..b300b89aa 100644 --- a/test cases/windows/3 cpp/meson.build +++ b/test cases/windows/3 cpp/meson.build @@ -1,4 +1,4 @@ -project('wincxx', 'cxx') - -exe = executable('prog', 'prog.cpp') -add_test('wincxx', exe) +project('wincxx', 'cxx') + +exe = executable('prog', 'prog.cpp') +add_test('wincxx', exe) diff --git a/test cases/windows/3 cpp/prog.cpp b/test cases/windows/3 cpp/prog.cpp index 45638dffb..cf6733510 100644 --- a/test cases/windows/3 cpp/prog.cpp +++ b/test cases/windows/3 cpp/prog.cpp @@ -1,7 +1,7 @@ -#include - -class Foo; - -int main(int argc, char **argv) { - return 0; -} +#include + +class Foo; + +int main(int argc, char **argv) { + return 0; +} diff --git a/test cases/windows/4 winmaincpp/meson.build b/test cases/windows/4 winmaincpp/meson.build index e9831b8d2..e59511efa 100644 --- a/test cases/windows/4 winmaincpp/meson.build +++ b/test cases/windows/4 winmaincpp/meson.build @@ -1,4 +1,4 @@ -project('winmaincpp', 'cxx') - -exe = executable('prog', 'prog.cpp') -add_test('winmaincpp', exe) +project('winmaincpp', 'cxx') + +exe = executable('prog', 'prog.cpp') +add_test('winmaincpp', exe) diff --git a/test cases/windows/4 winmaincpp/prog.cpp b/test cases/windows/4 winmaincpp/prog.cpp index f3ac3810c..aeecb7b82 100644 --- a/test cases/windows/4 winmaincpp/prog.cpp +++ b/test cases/windows/4 winmaincpp/prog.cpp @@ -1,12 +1,12 @@ -#include - -class Foo; - -int APIENTRY -WinMain( - HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPSTR lpszCmdLine, - int nCmdShow) { - return 0; -} +#include + +class Foo; + +int APIENTRY +WinMain( + HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPSTR lpszCmdLine, + int nCmdShow) { + return 0; +}