mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Update.
* locale/Versions [libc] (GLIBC_2.2): Add localeconv. * locale/localeconv.c: Make function versioned (with same definition).
This commit is contained in:
@@ -18,10 +18,11 @@
|
||||
|
||||
#include <locale.h>
|
||||
#include "localeinfo.h"
|
||||
#include <shlib-compat.h>
|
||||
|
||||
/* Return monetary and numeric information about the current locale. */
|
||||
struct lconv *
|
||||
localeconv (void)
|
||||
__localeconv (void)
|
||||
{
|
||||
static struct lconv result;
|
||||
|
||||
@@ -56,3 +57,9 @@ localeconv (void)
|
||||
|
||||
return &result;
|
||||
}
|
||||
|
||||
versioned_symbol (libc, __localeconv, localeconv, GLIBC_2_2);
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
|
||||
strong_alias (__localeconv, __localeconv20)
|
||||
compat_symbol (libc, __localeconv20, localeconv, GLIBC_2_0);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user