summaryrefslogtreecommitdiff
path: root/src/upb_textprinter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_textprinter.c')
-rw-r--r--src/upb_textprinter.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/upb_textprinter.c b/src/upb_textprinter.c
index c0fb944..7e99ebd 100644
--- a/src/upb_textprinter.c
+++ b/src/upb_textprinter.c
@@ -20,8 +20,7 @@ struct _upb_textprinter {
#define CHECK(x) if ((x) < 0) goto err;
-static int upb_textprinter_indent(upb_textprinter *p)
-{
+static int upb_textprinter_indent(upb_textprinter *p) {
if(!p->single_line)
for(int i = 0; i < p->indent_depth; i++)
CHECK(upb_bytesink_putstr(p->bytesink, UPB_STRLIT(" "), &p->status));
@@ -107,8 +106,7 @@ err:
return UPB_BREAK;
}
-static upb_flow_t upb_textprinter_endsubmsg(void *_p, upb_fielddef *f)
-{
+static upb_flow_t upb_textprinter_endsubmsg(void *_p, upb_fielddef *f) {
(void)f;
upb_textprinter *p = _p;
p->indent_depth--;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback