]> pd.if.org Git - pdclib.old/commitdiff
PDCLIB-1 locale functions only included <_PDCLIB_locale.h>, not <locale.h>. This...
authorOwen Shepherd <owen.shepherd@e43.eu>
Mon, 31 Dec 2012 20:28:46 +0000 (20:28 +0000)
committerOwen Shepherd <owen.shepherd@e43.eu>
Mon, 31 Dec 2012 20:28:46 +0000 (20:28 +0000)
functions/_PDCLIB/_PDCLIB_closeall.c
functions/locale/localeconv.c
functions/locale/setlocale.c

index bc6b417f88871cb0eeb4c16dae0f58c898419a65..30cdb9e1b12c4d36fd37b855eeb94e463bbd3c54 100644 (file)
@@ -7,9 +7,9 @@
 */
 
 #include <stdio.h>
-#include <_PDCLIB_io.h>
 
 #ifndef REGTEST
+#include <_PDCLIB_io.h>
 extern _PDCLIB_file_t * _PDCLIB_filelist;
 
 void _PDCLIB_closeall( void )
index 5b49571ec5ae86f26f37c54548fce0c7da088757..5da63d01f9d78eace0c067ce1c7c73c68c96497e 100644 (file)
@@ -4,9 +4,9 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <_PDCLIB_locale.h>
-
+#include <locale.h>
 #ifndef REGTEST
+#include <_PDCLIB_locale.h>
 
 struct lconv * localeconv( void )
 {
index 9b08b93bf1f11084ae73ab26b92eb13d08c19ba4..888c6c1e2820ebf8d509663a26b8ccafe89f0af4 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* setlocale( int, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -7,8 +5,8 @@
 */
 
 #include <locale.h>
-
 #ifndef REGTEST
+#include <_PDCLIB_locale.h>
 
 char * setlocale( int category, const char * locale )
 {