about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--locale/setlocale.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c90a2e8099..41a8f97e83 100644
--- 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>
diff --git a/locale/setlocale.c b/locale/setlocale.c
index 76cae82a72..05a55a96ed 100644
--- a/locale/setlocale.c
+++ b/locale/setlocale.c
@@ -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)