1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00
* locale/Versions [libc] (GLIBC_2.2): Add localeconv.
	* locale/localeconv.c: Make function versioned (with same definition).
This commit is contained in:
Ulrich Drepper
2000-05-30 20:37:26 +00:00
parent a907bff941
commit 9b014809fa
4 changed files with 18 additions and 5 deletions

View File

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