]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Simplify code.
authorBruno Haible <bruno@clisp.org>
Sat, 11 Mar 2023 02:31:25 +0000 (03:31 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 14 Mar 2023 01:57:28 +0000 (02:57 +0100)
* gettext-tools/src/format-python-brace.c (parse_upto): Remove redundant
declaration.

gettext-tools/src/format-python-brace.c

index 1b3e708bdf1279488b2d1e2372aab166d635261d..969e58d1138c50ba8b6a946ffb4f7440184817ad 100644 (file)
@@ -1,6 +1,5 @@
 /* Python brace format strings.
-   Copyright (C) 2004, 2006-2007, 2013-2014, 2016, 2019 Free Software Foundation,
-   Inc.
+   Copyright (C) 2004, 2006-2007, 2013-2014, 2016, 2019, 2023 Free Software Foundation, Inc.
    Written by Daiki Ueno <ueno@gnu.org>, 2013.
 
    This program is free software: you can redistribute it and/or modify
@@ -60,9 +59,7 @@ struct spec
 };
 
 
-static bool parse_upto (struct spec *spec, const char **formatp,
-                        bool is_toplevel, char terminator,
-                        bool translated, char *fdi, char **invalid_reason);
+/* Forward declaration of local functions.  */
 static void free_named_args (struct spec *spec);