From: Bruno Haible Date: Tue, 18 Mar 2003 10:46:38 +0000 (+0000) Subject: Comment out unused function. X-Git-Tag: v0.12~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ac645821dee1eb66ca090e8596fddbe2013b5ed;p=thirdparty%2Fgettext.git Comment out unused function. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index bb2cdd45f..35ee8759d 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2003-03-16 Bruno Haible + + * str-list.h (string_list_join): Comment out. + * str-list.c (string_list_join): Comment out. + 2003-03-10 Bruno Haible * msggrep.c (no_pass): Mention option -C. diff --git a/gettext-tools/src/str-list.c b/gettext-tools/src/str-list.c index 71c221165..094329c55 100644 --- a/gettext-tools/src/str-list.c +++ b/gettext-tools/src/str-list.c @@ -1,5 +1,5 @@ /* GNU gettext - internationalization aids - Copyright (C) 1995, 1998, 2000-2002 Free Software Foundation, Inc. + Copyright (C) 1995, 1998, 2000-2003 Free Software Foundation, Inc. This file was written by Peter Miller @@ -176,6 +176,7 @@ string_list_concat_destroy (string_list_ty *slp) } +#if 0 /* unused */ /* Return a freshly allocated string obtained by concatenating all the strings in the list, separated by spaces. */ char * @@ -206,6 +207,7 @@ string_list_join (const string_list_ty *slp) result[pos] = '\0'; return result; } +#endif /* Return 1 if s is contained in the list of strings, 0 otherwise. */ diff --git a/gettext-tools/src/str-list.h b/gettext-tools/src/str-list.h index 4414d510c..086b931a3 100644 --- a/gettext-tools/src/str-list.h +++ b/gettext-tools/src/str-list.h @@ -1,5 +1,5 @@ /* GNU gettext - internationalization aids - Copyright (C) 1995-1996, 1998, 2000-2002 Free Software Foundation, Inc. + Copyright (C) 1995-1996, 1998, 2000-2003 Free Software Foundation, Inc. This file was written by Peter Miller @@ -63,9 +63,11 @@ extern char *string_list_concat (const string_list_ty *slp); strings in the list, and destroy the list. */ extern char *string_list_concat_destroy (string_list_ty *slp); +#if 0 /* unused */ /* Return a freshly allocated string obtained by concatenating all the strings in the list, separated by spaces. */ extern char *string_list_join (const string_list_ty *slp); +#endif /* Return 1 if s is contained in the list of strings, 0 otherwise. */ extern bool string_list_member (const string_list_ty *slp, const char *s);