diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | locale/setlocale.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 76cae82..05a55a9 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) |