Merge tag 'nfs-for-3.10-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[deliverable/linux.git] / include / linux / ctype.h
index 8acfe312f947e0ff2dd2f01067b99c3e1c55ca17..653589e3e30e8b03dd1844011bae7ca19e41136b 100644 (file)
@@ -61,4 +61,10 @@ static inline char _tolower(const char c)
        return c | 0x20;
 }
 
+/* Fast check for octal digit */
+static inline int isodigit(const char c)
+{
+       return c >= '0' && c <= '7';
+}
+
 #endif
This page took 0.026035 seconds and 5 git commands to generate.