X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Flocale.c;fp=functions%2Flocale.c;h=0000000000000000000000000000000000000000;hb=94cec7268060142c361c882c0a54d4b0052a591c;hp=a0eec0223f04d73a798e7132ab955d7e8d054a8c;hpb=c8f799d852e3698468a78954d82588e841cc0b70;p=pdclib.old diff --git a/functions/locale.c b/functions/locale.c deleted file mode 100644 index a0eec02..0000000 --- a/functions/locale.c +++ /dev/null @@ -1,58 +0,0 @@ -/* ---------------------------------------------------------------------------- - * $Id$ - * ---------------------------------------------------------------------------- - * Public Domain C Library - http://pdclib.sourceforge.net - * This code is Public Domain. Use, modify, and redistribute at will. - * --------------------------------------------------------------------------*/ - -/* PDPC code - unreviewed -static struct lconv thislocale = { - ".", - "", - "", - "", - "", - "", - "", - "", - "", - "", - CHAR_MAX, - CHAR_MAX, - CHAR_MAX, - CHAR_MAX, - CHAR_MAX, - CHAR_MAX, - CHAR_MAX, - CHAR_MAX -}; -*/ - -char * setlocale( int categories, const char * locale_name ) { /* TODO */ }; - -/* PDPC code - unreviewed -{ - (void)category; - if (locale == NULL) - { - return ("C"); - } - else if ((strcmp(locale, "C") == 0) - || (strcmp(locale, "") == 0)) - { - return ("C"); - } - else - { - return (NULL); - } -} -*/ - -struct lconv * localeconv( void ) { /* TODO */ }; - -/* PDPC code - unreviewed -{ - return (&thislocale); -} -*/