]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/stdinit.c
Whitespace cleanups.
[pdclib] / platform / example / functions / _PDCLIB / stdinit.c
index 5550c4d7ce02acc324a87daeef7cc91181410b91..d7a0c84804344329d7188e28f10412ac4696ed0e 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* _PDCLIB_stdinit
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -304,8 +302,15 @@ 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)",
+        /* EILSEQ   */ (char *)"EILSEQ (Illegal sequence)"
+    },
     /* decimal_point      */ (char *)".",
     /* thousands_sep      */ (char *)"",
     /* grouping           */ (char *)"",
@@ -335,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;