]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix "warning: no previous prototype for function 'its_*_eval'".
authorBruno Haible <bruno@clisp.org>
Sun, 6 Sep 2020 23:31:26 +0000 (01:31 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2022 07:30:42 +0000 (09:30 +0200)
* gettext-tools/src/its.c (its_translate_rule_eval,
its_localization_note_rule_eval, its_element_within_text_rule_eval,
its_preserve_space_rule_eval, its_extension_context_rule_eval,
its_extension_escape_rule_eval): Make 'static'.

gettext-tools/src/its.c

index b8998a3a09f97913ba8d427e42e5392ad09c2f2d..7400890ff350f51c3e087c0d645cfd85320bb6c1 100644 (file)
@@ -723,7 +723,7 @@ its_translate_rule_constructor (struct its_rule_ty *pop, xmlNode *node)
   free (prop);
 }
 
-struct its_value_list_ty *
+static struct its_value_list_ty *
 its_translate_rule_eval (struct its_rule_ty *pop, struct its_pool_ty *pool,
                          xmlNode *node)
 {
@@ -859,7 +859,7 @@ its_localization_note_rule_constructor (struct its_rule_ty *pop, xmlNode *node)
   /* FIXME: locNoteRef and locNoteRefPointer */
 }
 
-struct its_value_list_ty *
+static struct its_value_list_ty *
 its_localization_note_rule_eval (struct its_rule_ty *pop,
                                  struct its_pool_ty *pool,
                                  xmlNode *node)
@@ -1006,7 +1006,7 @@ its_element_within_text_rule_constructor (struct its_rule_ty *pop,
   free (prop);
 }
 
-struct its_value_list_ty *
+static struct its_value_list_ty *
 its_element_within_text_rule_eval (struct its_rule_ty *pop,
                                    struct its_pool_ty *pool,
                                    xmlNode *node)
@@ -1093,7 +1093,7 @@ its_preserve_space_rule_constructor (struct its_rule_ty *pop,
   free (prop);
 }
 
-struct its_value_list_ty *
+static struct its_value_list_ty *
 its_preserve_space_rule_eval (struct its_rule_ty *pop,
                               struct its_pool_ty *pool,
                               xmlNode *node)
@@ -1186,7 +1186,7 @@ its_extension_context_rule_constructor (struct its_rule_ty *pop, xmlNode *node)
     }
 }
 
-struct its_value_list_ty *
+static struct its_value_list_ty *
 its_extension_context_rule_eval (struct its_rule_ty *pop,
                                  struct its_pool_ty *pool,
                                  xmlNode *node)
@@ -1245,7 +1245,7 @@ its_extension_escape_rule_constructor (struct its_rule_ty *pop, xmlNode *node)
   free (prop);
 }
 
-struct its_value_list_ty *
+static struct its_value_list_ty *
 its_extension_escape_rule_eval (struct its_rule_ty *pop,
                                 struct its_pool_ty *pool,
                                 xmlNode *node)