From: Oswald Buddenhagen Date: Mon, 19 Aug 2013 16:54:38 +0000 (+0200) Subject: fix arguments of main() in test data X-Git-Tag: accepted/tizen/20131212.181521~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68ff41016f2d13ebd389073eed505edd9834c79c;p=platform%2Fupstream%2Fqttools.git fix arguments of main() in test data not that it would matter, but ... Change-Id: I798eb118e623cf22c7288cda7b5d806eba8a6065 Reviewed-by: hjk --- 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); }