diff options
Diffstat (limited to 'src/cmark_ctype.c')
-rw-r--r-- | src/cmark_ctype.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmark_ctype.c b/src/cmark_ctype.c index 9ed4b5c..7ced3a2 100644 --- a/src/cmark_ctype.c +++ b/src/cmark_ctype.c @@ -1,7 +1,7 @@ /** * Returns 1 if c is a "whitespace" character as defined by the spec. */ -int isspace(char c) +int cmark_isspace(char c) { return (c == 0x09 || c == 0x20 || @@ -12,7 +12,7 @@ int isspace(char c) /** * Returns 1 if c is an ascii punctuation character. */ -int ispunct(char c) +int cmark_ispunct(char c) { return ((c >= 33 && c <= 47) || (c >= 58 && c <= 64) || @@ -20,14 +20,14 @@ int ispunct(char c) (c >= 123 && c <= 126)); } -int isalnum(char c) +int cmark_isalnum(char c) { return ((c >= 48 && c <= 57) || (c >= 65 && c <= 90) || (c >= 97 && c <= 122)); } -int isdigit(char c) +int cmark_isdigit(char c) { return (c >= 48 && c <= 57); } |