]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
glibc 2003-01-07 Ulrich Drepper <drepper@redhat.com>
authorBruno Haible <bruno@clisp.org>
Fri, 6 May 2005 10:49:38 +0000 (10:49 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:33 +0000 (12:12 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/explodename.c
gettext-runtime/intl/loadinfo.h

index 6cc57faa12f3a4d6fb10470285e0858494ef83c5..6aea1a81ba8ce674c90d48d00f2debee63de9b71 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-07  Ulrich Drepper  <drepper@redhat.com>
+
+       * explodename.c (_nl_find_language.c): Mark as static.
+       * loadinfo.h: Remove _nl_find_language prototype.
+
 2005-04-30  Bruno Haible  <bruno@clisp.org>
 
        * langprefs.c: Use #include <CoreFoundation/...> syntax. It's a
index 52c25e7276a38b22c0e5c1a9dbdce6803c6966b3..5bcdb820db77a7ae557276120b7276c241181147 100644 (file)
 
 /* @@ 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] != '@'
index 65e5ebd1f80a47e3e0b7c4e7908e12ac4732373e..aee53bc7611b422ed70c68b023634e73e959a822 100644 (file)
@@ -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 */