From 68ff41016f2d13ebd389073eed505edd9834c79c Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 19 Aug 2013 18:54:38 +0200 Subject: [PATCH] fix arguments of main() in test data not that it would matter, but ... Change-Id: I798eb118e623cf22c7288cda7b5d806eba8a6065 Reviewed-by: hjk --- tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp | 2 +- tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp | 2 +- tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp b/tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp index d3d6936..7d508fa 100644 --- a/tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp +++ b/tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp @@ -44,7 +44,7 @@ #include "main.h" -int main(char **argv, int argc) +int main(int argc, char **argv) { return QApplication::tr("string in main.cpp"); } diff --git a/tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp b/tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp index 8056a6f..2d1b144 100644 --- a/tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp +++ b/tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp @@ -39,7 +39,7 @@ ** ****************************************************************************/ -int main(char **argv, int argc) +int main(int argc, char **argv) { QString fake = QApplication::tr("fake", "This message will not be collected"); } diff --git a/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp b/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp index 54781ba..f07b855 100644 --- a/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp +++ b/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp @@ -41,7 +41,7 @@ // IMPORTANT!!!! If you want to add testdata to this file, // always add it to the end in order to not change the linenumbers of translations!!! -int main(char **argv, int argc) +int main(int argc, char **argv) { Size size = QSize(1,1); } -- 2.7.4