* grub-core/lib/posix_wrap/wctype.h (CHARCLASS_NAME_MAX): New define.
This commit is contained in:
parent
b1ac4cb1f9
commit
e6da146746
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/lib/posix_wrap/wctype.h (CHARCLASS_NAME_MAX): New define.
|
||||||
|
|
||||||
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/datetime.h (grub_datetime2unixtime): Fix offset.
|
* include/grub/datetime.h (grub_datetime2unixtime): Fix offset.
|
||||||
|
|
|
@ -29,6 +29,8 @@ typedef enum { GRUB_CTYPE_INVALID,
|
||||||
GRUB_CTYPE_GRAPH, GRUB_CTYPE_PUNCT, GRUB_CTYPE_XDIGIT,
|
GRUB_CTYPE_GRAPH, GRUB_CTYPE_PUNCT, GRUB_CTYPE_XDIGIT,
|
||||||
GRUB_CTYPE_MAX} wctype_t;
|
GRUB_CTYPE_MAX} wctype_t;
|
||||||
|
|
||||||
|
#define CHARCLASS_NAME_MAX (sizeof ("xdigit") - 1)
|
||||||
|
|
||||||
static inline wctype_t
|
static inline wctype_t
|
||||||
wctype (const char *name)
|
wctype (const char *name)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue