From: Bruno Haible Date: Fri, 6 May 2005 10:49:38 +0000 (+0000) Subject: glibc 2003-01-07 Ulrich Drepper X-Git-Tag: v0.15~530 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b9ac685c7d95dc63e35d6648e0a39614c5ee54;p=thirdparty%2Fgettext.git glibc 2003-01-07 Ulrich Drepper --- diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index 6cc57faa1..6aea1a81b 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,8 @@ +2003-01-07 Ulrich Drepper + + * explodename.c (_nl_find_language.c): Mark as static. + * loadinfo.h: Remove _nl_find_language prototype. + 2005-04-30 Bruno Haible * langprefs.c: Use #include syntax. It's a diff --git a/gettext-runtime/intl/explodename.c b/gettext-runtime/intl/explodename.c index 52c25e727..5bcdb820d 100644 --- a/gettext-runtime/intl/explodename.c +++ b/gettext-runtime/intl/explodename.c @@ -37,7 +37,12 @@ /* @@ end of prolog @@ */ -char * +/* Split a locale name NAME into a leading language part and all the + rest. Return a pointer to the first character after the language, + i.e. to the first byte of the rest. */ +static char *_nl_find_language (const char *name); + +static char * _nl_find_language (const char *name) { while (name[0] != '\0' && name[0] != '_' && name[0] != '@' diff --git a/gettext-runtime/intl/loadinfo.h b/gettext-runtime/intl/loadinfo.h index 65e5ebd1f..aee53bc76 100644 --- a/gettext-runtime/intl/loadinfo.h +++ b/gettext-runtime/intl/loadinfo.h @@ -137,9 +137,4 @@ extern int _nl_explode_name (char *name, const char **language, const char **special, const char **sponsor, const char **revision); -/* Split a locale name NAME into a leading language part and all the - rest. Return a pointer to the first character after the language, - i.e. to the first byte of the rest. */ -extern char *_nl_find_language (const char *name); - #endif /* loadinfo.h */