X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fc_locale%2F_PDCLIB_initclocale.c;h=d7cf35063fffa040671787ffc00655a4cac72b63;hp=4b214e46690d234d996a9317af1498a0a6c317ef;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=8894c921674bb116d0a7b8f23a55311e7a768019 diff --git a/opt/c_locale/_PDCLIB_initclocale.c b/opt/c_locale/_PDCLIB_initclocale.c index 4b214e4..d7cf350 100644 --- a/opt/c_locale/_PDCLIB_initclocale.c +++ b/opt/c_locale/_PDCLIB_initclocale.c @@ -1,29 +1,29 @@ -/* _PDCLIB_initclocale( locale_t ) - - This file is part of the Public Domain C Library (PDCLib). - Permission is granted to use, modify, and / or redistribute at will. -*/ - -#ifndef REGTEST -#include "_PDCLIB_clocale.h" -#include "_PDCLIB_locale.h" - -void _PDCLIB_initclocale( locale_t l ) -{ - // TODO: There will be more added here... - - l->_WCType = _PDCLIB_wcinfo; - l->_WCTypeSize = _PDCLIB_wcinfo_size; -} - -#endif - -#ifdef TEST -#include "_PDCLIB_test.h" - -int main() -{ - return TEST_RESULTS; -} - +/* _PDCLIB_initclocale( locale_t ) + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#ifndef REGTEST +#include "_PDCLIB_clocale.h" +#include "_PDCLIB_locale.h" + +void _PDCLIB_initclocale( locale_t l ) +{ + // TODO: There will be more added here... + + l->_WCType = _PDCLIB_wcinfo; + l->_WCTypeSize = _PDCLIB_wcinfo_size; +} + +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main() +{ + return TEST_RESULTS; +} + #endif \ No newline at end of file