X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Flocale%2Flocaleconv.c;h=c6ffcf3a41ac169891f651c9340fda3757d9dc6e;hp=e23fb6a3585d7f6f21398aa18a077d7f7a0dc267;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=11b11c83484dd89b1bb78db639f164616916ea0b diff --git a/functions/locale/localeconv.c b/functions/locale/localeconv.c index e23fb6a..c6ffcf3 100644 --- a/functions/locale/localeconv.c +++ b/functions/locale/localeconv.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* localeconv( void ) This file is part of the Public Domain C Library (PDCLib). @@ -7,18 +5,18 @@ */ #include - #ifndef REGTEST +#include "_PDCLIB_locale.h" struct lconv * localeconv( void ) { - return &_PDCLIB_lconv; + return &_PDCLIB_threadlocale()->_Conv; } #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {