+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.
}
+/* 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)
string_list_append (comment, str);
}
-const char *
+static const char *
xgettext_comment (size_t n)
{
if (comment == NULL || n >= comment->nitems)
return comment->item[n];
}
-void
+static void
xgettext_comment_reset ()
{
if (comment != NULL)
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,