]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* locale/setlocale.c (setname): Remove inline to avoid compiler
authorUlrich Drepper <drepper@redhat.com>
Sun, 20 Jul 2008 17:11:28 +0000 (17:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 20 Jul 2008 17:11:28 +0000 (17:11 +0000)
warning.

ChangeLog
locale/setlocale.c

index c90a2e8099107b4dc5c3172bcae83f5efb5c659c..41a8f97e83f4f1f08871c8258aa4492c38b252da 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-07-20  Ulrich Drepper  <drepper@redhat.com>
 
+       * locale/setlocale.c (setname): Remove inline to avoid compiler
+       warning.
+
        * locale/setlocale.c (setlocale): Take the setlocale lock earlier.
 
 2008-07-15  Ulrich Drepper  <drepper@redhat.com>
index 76cae82a72d3d52e2c38aefa2c8d556b78174ab0..05a55a96ed65f58a79344c6dc3e639f6c1b337f0 100644 (file)
@@ -193,7 +193,7 @@ new_composite_name (int category, const char *newnames[__LC_LAST])
 
 
 /* Put NAME in _nl_global_locale.__names.  */
-static inline void
+static void
 setname (int category, const char *name)
 {
   if (_nl_global_locale.__names[category] == name)