summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux/latest/core/include/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux/latest/core/include/ctype.h')
-rw-r--r--contrib/syslinux/latest/core/include/ctype.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/contrib/syslinux/latest/core/include/ctype.h b/contrib/syslinux/latest/core/include/ctype.h
deleted file mode 100644
index 5c6d4cb..0000000
--- a/contrib/syslinux/latest/core/include/ctype.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef CTYPE_H
-#define CTYPE_H
-
-/*
- * Small subset of <ctype.h> for parsing uses, only handles ASCII
- * and passes the rest through.
- */
-
-static inline int toupper(int c)
-{
- if (c >= 'a' && c <= 'z')
- c -= 0x20;
-
- return c;
-}
-
-static inline int tolower(int c)
-{
- if (c >= 'A' && c <= 'Z')
- c += 0x20;
-
- return c;
-}
-
-#endif /* CTYPE_H */