X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fstdinit.c;h=d7a0c84804344329d7188e28f10412ac4696ed0e;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=9467077d4e9b34acf1558860ce29bf7be7005d59;hpb=ce0e5d8cd76b50f239fb8e95170502b146247b35;p=pdclib diff --git a/platform/example/functions/_PDCLIB/stdinit.c b/platform/example/functions/_PDCLIB/stdinit.c index 9467077..d7a0c84 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). @@ -304,13 +302,14 @@ static struct _PDCLIB_ctype_t _ctype[] = { { 0x00, 0xFF, 0xFF, 0xFF } }; -struct lconv _PDCLIB_lconv = { +struct lconv _PDCLIB_lconv = { /* _PDCLIB_ctype */ _ctype + 1, /* _PDCLIB_errno_texts */ { /* no error */ (char *)"", /* ERANGE */ (char *)"ERANGE (Range error)", - /* EDOM */ (char *)"EDOM (Domain error)" + /* EDOM */ (char *)"EDOM (Domain error)", + /* EILSEQ */ (char *)"EILSEQ (Illegal sequence)" }, /* decimal_point */ (char *)".", /* thousands_sep */ (char *)"", @@ -341,11 +340,12 @@ struct lconv _PDCLIB_lconv = { #endif #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" int main( void ) { - /* Testing covered by several other testdrivers using stdin / stdout / + /* Testing covered by several other testdrivers using stdin / stdout / stderr. */ return TEST_RESULTS;