]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
xgettext_comment_* API is not public any more.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Oct 2005 11:03:22 +0000 (11:03 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:53 +0000 (12:12 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/xgettext.c
gettext-tools/src/xgettext.h

index 7763b438873aebf6bca67937748fd7f687466c34..d2aceb07b7a963592244d78120c7b6b64dd523d2 100644 (file)
@@ -1,3 +1,10 @@
+2005-10-03  Bruno Haible  <bruno@clisp.org>
+
+       * xgettext.h (xgettext_comment_add, xgettext_comment,
+       xgettext_comment_reset): Remove declarations.
+       * xgettext.c (xgettext_comment_add, xgettext_comment,
+       xgettext_comment_reset): Make static.
+
 2005-10-03  Bruno Haible  <bruno@clisp.org>
 
        Use savable_comment_* API instead of xgettext_comment_* API.
index 1aa34a5331db3b6577d8f7378e28a820a5f13469..9e8f079b596c11cd2836fceb312b868b8b31d018 100644 (file)
@@ -1467,9 +1467,12 @@ A --flag argument doesn't have the <keyword>:<argnum>:[pass-]<flag> syntax: %s")
 }
 
 
+/* Comment handling: There is a list of automatic comments that may be appended
+   to the next message.  Used by remember_a_message().  */
+
 static string_list_ty *comment;
 
-void
+static void
 xgettext_comment_add (const char *str)
 {
   if (comment == NULL)
@@ -1477,7 +1480,7 @@ xgettext_comment_add (const char *str)
   string_list_append (comment, str);
 }
 
-const char *
+static const char *
 xgettext_comment (size_t n)
 {
   if (comment == NULL || n >= comment->nitems)
@@ -1485,7 +1488,7 @@ xgettext_comment (size_t n)
   return comment->item[n];
 }
 
-void
+static void
 xgettext_comment_reset ()
 {
   if (comment != NULL)
index 727b2a897c553c74657072d7a263691ee10e0930..487c5078df0321e878cbfefe5479bc6fac70e48d 100644 (file)
@@ -141,13 +141,6 @@ extern char *from_current_source_encoding (const char *string,
 extern message_list_ty *exclude;
 
 
-/* Comment handling: There is a list of automatic comments that may be appended
-   to the next message.  Used by remember_a_message().  */
-extern void xgettext_comment_add (const char *str);
-extern const char *xgettext_comment (size_t n);
-extern void xgettext_comment_reset (void);
-
-
 /* Comment handling for backends which support combining adjacent strings
    even across lines.
    In these backends we cannot use the xgettext_comment* functions directly,