X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=internals%2F_PDCLIB_locale.h;h=da9321eb69f9f07d2fafdd526d744231c96b876d;hb=be738e08ec9ba2498d81153bee1de9b8af7e764c;hp=9644eb4b19c3b836b43505d2358f999093eb3799;hpb=072f30583aa781ac40faeff08500f0dadf7cf1de;p=pdclib diff --git a/internals/_PDCLIB_locale.h b/internals/_PDCLIB_locale.h index 9644eb4..da9321e 100644 --- a/internals/_PDCLIB_locale.h +++ b/internals/_PDCLIB_locale.h @@ -1,6 +1,14 @@ +/* PDCLib locale support <_PDCLIB_locale.h> + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + #ifndef __PDCLIB_LOCALE_H #define __PDCLIB_LOCALE_H __PDCLIB_LOCALE_H -#include <_PDCLIB_int.h> + +#include "_PDCLIB_int.h" + #include #include #include @@ -82,8 +90,8 @@ typedef struct _PDCLIB_wcinfo } _PDCLIB_wcinfo_t; struct _PDCLIB_locale { - const _PDCLIB_charcodec_t _Codec; - struct lconv _Conv; + const struct _PDCLIB_charcodec_t * _Codec; + struct lconv _Conv; /* ctype / wctype */ /* XXX: Maybe re-evaluate constness of these later on? */ @@ -92,7 +100,7 @@ struct _PDCLIB_locale { const _PDCLIB_ctype_t *_CType; /* perror/strerror */ - char *_ErrnoStr[_PDCLIB_ERRNO_MAX]; + const char * const _ErrnoStr[_PDCLIB_ERRNO_MAX]; }; extern const _PDCLIB_wcinfo_t _PDCLIB_wcinfo[];