From 9b014809fae75a2019975ff61d13eb66249e3491 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 30 May 2000 20:37:26 +0000 Subject: Update. * locale/Versions [libc] (GLIBC_2.2): Add localeconv. * locale/localeconv.c: Make function versioned (with same definition). --- locale/localeconv.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'locale/localeconv.c') diff --git a/locale/localeconv.c b/locale/localeconv.c index 79a88ac..0f54537 100644 --- a/locale/localeconv.c +++ b/locale/localeconv.c @@ -18,10 +18,11 @@ #include #include "localeinfo.h" +#include /* 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 -- cgit v1.1