]> pd.if.org Git - pdclib/blobdiff - functions/locale/localeconv.c
PDCLIB-1 PDCLIB-2 PDCLIB-9 PDCLIB-12: Add thread specific locale support; migrate...
[pdclib] / functions / locale / localeconv.c
index e23fb6a3585d7f6f21398aa18a077d7f7a0dc267..5b49571ec5ae86f26f37c54548fce0c7da088757 100644 (file)
@@ -1,18 +1,16 @@
-/* $Id$ */
-
 /* localeconv( void )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <locale.h>
+#include <_PDCLIB_locale.h>
 
 #ifndef REGTEST
 
 struct lconv * localeconv( void )
 {
-    return &_PDCLIB_lconv;
+    return &_PDCLIB_threadlocale()->_Conv;
 }
 
 #endif