diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-10-11 14:51:42 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-10-11 14:51:42 +0200 |
commit | 636d6018ea6bc6697b6491e0e47c4ae1ccad32fe (patch) | |
tree | e07a56b1ad0d8cda272077350175b985185a8584 /src/chunk.h | |
parent | 85d47d07d676b8bca1d98efee45d25af011a813b (diff) |
Ran 'make format' to reformat code.
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 a2248f5..666484c 100644 --- a/src/chunk.h +++ b/src/chunk.h @@ -50,8 +50,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; @@ -99,8 +99,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; } |