]> pd.if.org Git - pdclib/blobdiff - functions/locale/localeconv.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / locale / localeconv.c
index e23fb6a3585d7f6f21398aa18a077d7f7a0dc267..c6ffcf3a41ac169891f651c9340fda3757d9dc6e 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* localeconv( void )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -7,18 +5,18 @@
 */
 
 #include <locale.h>
-
 #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 )
 {