]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Whitespace tweaks.
authorBruno Haible <bruno@clisp.org>
Sun, 28 Dec 2025 11:32:56 +0000 (12:32 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Dec 2025 11:32:56 +0000 (12:32 +0100)
* gettext-tools/src/msgfilter.c: Fix indentation.
* gettext-tools/src/*.c: GNU coding style.
* gettext-tools/tests/*.c: Likewise.

21 files changed:
gettext-tools/src/cldr-plurals.c
gettext-tools/src/hostname.c
gettext-tools/src/msgattrib.c
gettext-tools/src/msgcat.c
gettext-tools/src/msgcmp.c
gettext-tools/src/msgcomm.c
gettext-tools/src/msgconv.c
gettext-tools/src/msgen.c
gettext-tools/src/msgexec.c
gettext-tools/src/msgfilter.c
gettext-tools/src/msgfmt.c
gettext-tools/src/msggrep.c
gettext-tools/src/msginit.c
gettext-tools/src/msgmerge.c
gettext-tools/src/msgunfmt.c
gettext-tools/src/msguniq.c
gettext-tools/src/recode-sr-latin.c
gettext-tools/src/urlget.c
gettext-tools/src/xgettext.c
gettext-tools/tests/tstgettext.c
gettext-tools/tests/tstngettext.c

index 5a5b81fe7f5cb601fe379a3e9a77a86bc786d73b..e8afb35c9c3a106a5089df9d185b80114aabcc1d 100644 (file)
@@ -196,7 +196,7 @@ Similarly for optional arguments.\n\
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 7eacc796bec21c9727409fc13145df285f03f082..c857833389196753ca0edf05851d283b70e9cadb 100644 (file)
@@ -247,7 +247,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index ab574af2a27ce29adb23bd690c256d97ea06645e..0509b66cf7f6f3f2e15dc81f79691d5587d2f9e2 100644 (file)
@@ -537,7 +537,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 491c53241f2529805ee0ed3a204b82b0aacef81f..5c94e78fef8ee909b10e908ac9aba54d66aed70b 100644 (file)
@@ -471,7 +471,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 55b01e752de05dfb359c8d6483e988e5fc83165d..a71bd17890f8d66bee553e9434e71b77ad0050fb 100644 (file)
@@ -266,7 +266,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 4b4a3b731cb317e6e06825cdd6f7580070cd7960..96b4712d8de94f30172c4fb5f204596fa4dc6206 100644 (file)
@@ -462,7 +462,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index f853d0e95f2c5409b8d220cebcc698b6c53e4664..fd8f98daa0a5d5f27b1ee49e1dae815a8e95c647 100644 (file)
@@ -390,7 +390,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 18fdf7a8e1a9be2322b711409adbc1f1bb294df0..0ca4402134a546afc4ff11ba81a2ee01cb25efa5 100644 (file)
@@ -394,7 +394,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 57e61749b116bed7e880dd93b13f7554488cfe43..ebd33eab9abf027ba60be268c9954132dcb070a8 100644 (file)
@@ -311,7 +311,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 426fb5225da17f830b04bf545244379ac91281e1..71193a524541a617de0c5ee5041184c3be421bb9 100644 (file)
@@ -128,31 +128,31 @@ main (int argc, char **argv)
   BEGIN_ALLOW_OMITTING_FIELD_INITIALIZERS
   static const struct program_option options[] =
   {
-    { "add-location",      CHAR_MAX + 'n', optional_argument },
-    { NULL,                'n',            no_argument       },
-    { "color",             CHAR_MAX + 6,   optional_argument },
-    { "directory",         'D',            required_argument },
-    { "escape",            'E',            no_argument       },
-    { "force-po",           0,             no_argument,      &force_po, 1 },
-    { "help",               'h',           no_argument       },
-    { "indent",             CHAR_MAX + 1,  no_argument       },
-    { "input",              'i',           required_argument },
-    { "keep-header",        0,             no_argument,      &keep_header, 1 },
-    { "newline",            CHAR_MAX + 9,  no_argument       },
-    { "no-escape",          CHAR_MAX + 2,  no_argument       },
-    { "no-location",        CHAR_MAX + 8,  no_argument       },
-    { "no-wrap",            CHAR_MAX + 3,  no_argument       },
-    { "output-file",        'o',           required_argument },
-    { "properties-input",   'P',           no_argument       },
-    { "properties-output",  'p',           no_argument       },
-    { "sort-by-file",       'F',           no_argument       },
-    { "sort-output",        's',           no_argument       },
-    { "strict",             CHAR_MAX + 10, no_argument       },
-    { "stringtable-input",  CHAR_MAX + 4,  no_argument       },
-    { "stringtable-output", CHAR_MAX + 5,  no_argument       },
-    { "style",              CHAR_MAX + 7,  required_argument },
-    { "version",            'V',           no_argument       },
-    { "width",              'w',           required_argument },
+    { "add-location",       CHAR_MAX + 'n', optional_argument },
+    { NULL,                 'n',            no_argument       },
+    { "color",              CHAR_MAX + 6,   optional_argument },
+    { "directory",          'D',            required_argument },
+    { "escape",             'E',            no_argument       },
+    { "force-po",           0,              no_argument,      &force_po, 1 },
+    { "help",               'h',            no_argument       },
+    { "indent",             CHAR_MAX + 1,   no_argument       },
+    { "input",              'i',            required_argument },
+    { "keep-header",        0,              no_argument,      &keep_header, 1 },
+    { "newline",            CHAR_MAX + 9,   no_argument       },
+    { "no-escape",          CHAR_MAX + 2,   no_argument       },
+    { "no-location",        CHAR_MAX + 8,   no_argument       },
+    { "no-wrap",            CHAR_MAX + 3,   no_argument       },
+    { "output-file",        'o',            required_argument },
+    { "properties-input",   'P',            no_argument       },
+    { "properties-output",  'p',            no_argument       },
+    { "sort-by-file",       'F',            no_argument       },
+    { "sort-output",        's',            no_argument       },
+    { "strict",             CHAR_MAX + 10,  no_argument       },
+    { "stringtable-input",  CHAR_MAX + 4,   no_argument       },
+    { "stringtable-output", CHAR_MAX + 5,   no_argument       },
+    { "style",              CHAR_MAX + 7,   required_argument },
+    { "version",            'V',            no_argument       },
+    { "width",              'w',            required_argument },
   };
   END_ALLOW_OMITTING_FIELD_INITIALIZERS
   /* The flag NON_OPTION_TERMINATES_OPTIONS causes option parsing to terminate
@@ -517,7 +517,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
@@ -594,7 +594,6 @@ static void
 generic_filter (const char *str, size_t len, char **resultp, size_t *lengthp)
 {
   struct locals l;
-
   l.str = str;
   l.len = len;
   l.allocated = len + (len >> 2) + 1;
index ddbd3042fa573cc957cb68ded8e8b67e39a261f7..5a8b2175e1d0da87866854b2de7a5655d7fbb542 100644 (file)
@@ -1117,7 +1117,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index b435b321bbf54a8ec260d70a1db338b4c74f03a7..1ba495fd4916de86cff43ef1dc81150993473b6a 100644 (file)
@@ -647,7 +647,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 0222663f52a7a6ab1118f16afaec38ae2786168a..3cdab512f13438ef0a16c42a27f66cfb717c7f3f 100644 (file)
@@ -449,7 +449,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index efff142e3aa7288633502a16f91a4bd98d10b16c..bb9c71b10218abd56c6057bcb27c083e6652e0ee 100644 (file)
@@ -615,7 +615,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index fcf1590e380158f95a69159eaae9ce9f0b09861d..05065b7cb5473b27074f35c4f0648155cf88b5ac 100644 (file)
@@ -537,7 +537,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index efc9f0fc2070a4250f11f65a98ba66c8227299ca..071ab7edacae5ba531fc6a28e36551a05288ee13 100644 (file)
@@ -422,7 +422,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 8520801444afbd3cf8797a6bfd85104a84a03db7..e859e8b5e29084d0a4b956f60c1b885f077b5a4b 100644 (file)
@@ -168,7 +168,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index f198eaae24efcd6fec23a9cec74b806548c35a3e..6c3741f017d6c83d2e8a23ccc4da58a398fe262b 100644 (file)
@@ -191,7 +191,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 0b1f89f8bf93cca5cb574dc07a1ccdabaf69e267..b57519f612467b3404e88a9a4460d09bdc34620b 100644 (file)
@@ -1354,7 +1354,7 @@ Informative output:\n"));
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index 66828a7d9e4b2dc8e72f5720188fc86ca05ff50d..bd9b617b7a266db63cec7eaea1a81076ad3923a1 100644 (file)
@@ -341,7 +341,7 @@ Standard search directory: %s\n"),
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",
index d88abaa7dae9680968ea6ab64278cad33d5b7ace..c682ef8f59d5453a8a375417962b31b302e5d2fc 100644 (file)
@@ -263,7 +263,7 @@ Standard search directory: %s\n"), LOCALEDIR);
          email address for this package.  Please add _another line_ saying
          "Report translation bugs to <...>\n" with the address for translation
          bugs (typically your translation team's web or email address).  */
-      printf(_("\
+      printf (_("\
 Report bugs in the bug tracker at <%s>\n\
 or by email to <%s>.\n"),
              "https://savannah.gnu.org/projects/gettext",