Bump liberty
This commit is contained in:
25
common.c
25
common.c
@@ -475,31 +475,6 @@ fail:
|
|||||||
|
|
||||||
// --- To be moved to liberty --------------------------------------------------
|
// --- To be moved to liberty --------------------------------------------------
|
||||||
|
|
||||||
static bool
|
|
||||||
isalpha_ascii (int c)
|
|
||||||
{
|
|
||||||
c &= ~32;
|
|
||||||
return c >= 'A' && c <= 'Z';
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool
|
|
||||||
isdigit_ascii (int c)
|
|
||||||
{
|
|
||||||
return c >= '0' && c <= '9';
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool
|
|
||||||
isalnum_ascii (int c)
|
|
||||||
{
|
|
||||||
return isalpha_ascii (c) || isdigit_ascii (c);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
toupper_ascii (int c)
|
|
||||||
{
|
|
||||||
return c >= 'A' && c <= 'Z' ? c : c - ('a' - 'A');
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
split_str (const char *s, char delimiter, struct str_vector *out)
|
split_str (const char *s, char delimiter, struct str_vector *out)
|
||||||
{
|
{
|
||||||
|
|||||||
2
liberty
2
liberty
Submodule liberty updated: 8c6d18757d...37005cc443
Reference in New Issue
Block a user