summaryrefslogtreecommitdiff
path: root/common/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.c')
-rw-r--r--common/util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/util.c b/common/util.c
index 701419b073..054e8e839c 100644
--- a/common/util.c
+++ b/common/util.c
@@ -47,6 +47,11 @@ int isalpha(int c)
return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z');
}
+int isupper(int c)
+{
+ return c >= 'A' && c <= 'Z';
+}
+
int isprint(int c)
{
return c >= ' ' && c <= '~';