diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-29 22:31:17 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-29 22:31:17 -0800 |
commit | 9c5d074b0067b564f230b3770b2026afb9bb6998 (patch) | |
tree | f399a256c4b3c05d9889df8d2c691b80329785cd /src/chunk.h | |
parent | dee580425077fd177f49cddf64a157af032fbb3f (diff) |
Added cmark_ prefix to functions in cmark_ctype.
Diffstat (limited to 'src/chunk.h')
-rw-r--r-- | src/chunk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk.h b/src/chunk.h index ba6c89e..54c4b16 100644 --- a/src/chunk.h +++ b/src/chunk.h @@ -27,7 +27,7 @@ static inline void cmark_chunk_ltrim(cmark_chunk *c) { assert(!c->alloc); - while (c->len && isspace(c->data[0])) { + while (c->len && cmark_isspace(c->data[0])) { c->data++; c->len--; } @@ -36,7 +36,7 @@ static inline void cmark_chunk_ltrim(cmark_chunk *c) static inline void cmark_chunk_rtrim(cmark_chunk *c) { while (c->len > 0) { - if (!isspace(c->data[c->len - 1])) + if (!cmark_isspace(c->data[c->len - 1])) break; c->len--; |