diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-01-18 09:33:43 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-01-18 09:33:43 -0800 |
commit | e1d1593f514a4975e015ed3fdd69f9c1c5c3142d (patch) | |
tree | a675ed66d3dcf5224db51521eb8f63452d647da7 /src/chunk.h | |
parent | c7904b06f57f8ad28f2f288267744231334e5973 (diff) |
Automatic code reformat.
Diffstat (limited to 'src/chunk.h')
-rw-r--r-- | src/chunk.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chunk.h b/src/chunk.h index 7007492..b25831b 100644 --- a/src/chunk.h +++ b/src/chunk.h @@ -48,8 +48,8 @@ static CMARK_INLINE void cmark_chunk_trim(cmark_chunk *c) { cmark_chunk_rtrim(c); } -static CMARK_INLINE bufsize_t - cmark_chunk_strchr(cmark_chunk *ch, int c, bufsize_t offset) { +static CMARK_INLINE bufsize_t cmark_chunk_strchr(cmark_chunk *ch, int c, + bufsize_t offset) { const unsigned char *p = (unsigned char *)memchr(ch->data + offset, c, ch->len - offset); return p ? (bufsize_t)(p - ch->data) : ch->len; @@ -96,8 +96,8 @@ static CMARK_INLINE cmark_chunk cmark_chunk_literal(const char *data) { return c; } -static CMARK_INLINE cmark_chunk - cmark_chunk_dup(const cmark_chunk *ch, bufsize_t pos, bufsize_t len) { +static CMARK_INLINE cmark_chunk cmark_chunk_dup(const cmark_chunk *ch, + bufsize_t pos, bufsize_t len) { cmark_chunk c = {ch->data + pos, len, 0}; return c; } |