summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-02 22:35:25 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-02 22:36:26 +0200
commit1b891ab01b22c9edfd050a26484f36c9628635b9 (patch)
tree899f44b0d1be3a272e8f3df7195fb71e58271f85 /common.c
parentcb2cbc9100df817bd5e9599bbceb5af901f91967 (diff)
downloadxK-1b891ab01b22c9edfd050a26484f36c9628635b9.tar.gz
xK-1b891ab01b22c9edfd050a26484f36c9628635b9.tar.xz
xK-1b891ab01b22c9edfd050a26484f36c9628635b9.zip
Bump liberty
Diffstat (limited to 'common.c')
-rw-r--r--common.c25
1 files changed, 0 insertions, 25 deletions
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)
{