* grub-core/lib/posix_wrap/wctype.h (CHARCLASS_NAME_MAX): New define.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-01-14 11:53:29 +01:00
parent b1ac4cb1f9
commit e6da146746
2 changed files with 6 additions and 0 deletions

View file

@ -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>
* include/grub/datetime.h (grub_datetime2unixtime): Fix offset.

View file

@ -29,6 +29,8 @@ typedef enum { GRUB_CTYPE_INVALID,
GRUB_CTYPE_GRAPH, GRUB_CTYPE_PUNCT, GRUB_CTYPE_XDIGIT,
GRUB_CTYPE_MAX} wctype_t;
#define CHARCLASS_NAME_MAX (sizeof ("xdigit") - 1)
static inline wctype_t
wctype (const char *name)
{