diff --git a/common.c b/common.c index b887135..43b9bfb 100644 --- a/common.c +++ b/common.c @@ -475,31 +475,6 @@ fail: // --- 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 split_str (const char *s, char delimiter, struct str_vector *out) { diff --git a/liberty b/liberty index 8c6d187..37005cc 160000 --- a/liberty +++ b/liberty @@ -1 +1 @@ -Subproject commit 8c6d18757d2d4135963f3dbab6d2d5ec8c8b6af3 +Subproject commit 37005cc443d8725a0103fdd4ded0b1d38853ef42