X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fstdinit.c;h=d11718d0be5851636b8c5a61cfc9e3a4d27252fa;hb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;hp=5550c4d7ce02acc324a87daeef7cc91181410b91;hpb=31bc073732a9303dd6f4813f0408cb2b9fcd0add;p=pdclib diff --git a/platform/example/functions/_PDCLIB/stdinit.c b/platform/example/functions/_PDCLIB/stdinit.c index 5550c4d..d11718d 100644 --- a/platform/example/functions/_PDCLIB/stdinit.c +++ b/platform/example/functions/_PDCLIB/stdinit.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* _PDCLIB_stdinit This file is part of the Public Domain C Library (PDCLib). @@ -306,6 +304,13 @@ static struct _PDCLIB_ctype_t _ctype[] = { struct lconv _PDCLIB_lconv = { /* _PDCLIB_ctype */ _ctype + 1, + /* _PDCLIB_errno_texts */ + { + /* no error */ (char *)"", + /* ERANGE */ (char *)"ERANGE (Range error)", + /* EDOM */ (char *)"EDOM (Domain error)", + /* EILSEQ */ (char *)"EILSEQ (Illegal sequence)" + }, /* decimal_point */ (char *)".", /* thousands_sep */ (char *)"", /* grouping */ (char *)"", @@ -335,7 +340,7 @@ struct lconv _PDCLIB_lconv = { #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {