* locale/setlocale.c (setname): Remove inline to avoid compiler

warning.
This commit is contained in:
Ulrich Drepper 2008-07-20 17:11:28 +00:00
parent 9f558b8051
commit 2e79213a36
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View 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)