From 1f15ba9cdf39c3e0e3149d89738052e222aa7b3c Mon Sep 17 00:00:00 2001 From: Robert Edmonds Date: Wed, 19 Mar 2014 15:15:27 -0400 Subject: [PATCH] protobuf-c: minor style fixes --- protobuf-c/protobuf-c.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/protobuf-c/protobuf-c.c b/protobuf-c/protobuf-c.c index 966cab7..8384582 100644 --- a/protobuf-c/protobuf-c.c +++ b/protobuf-c/protobuf-c.c @@ -296,7 +296,8 @@ zigzag64(int64_t v) * converted to an unsigned 64-bit integer with ZigZag encoding, using base-128 * varint encoding. */ -static inline size_t sint64_size(int64_t v) +static inline size_t +sint64_size(int64_t v) { return uint64_size(zigzag64(v)); } @@ -1502,7 +1503,8 @@ scan_length_prefixed_data(size_t len, const uint8_t *data, return hdr_len + val; } -static size_t max_b128_numbers(size_t len, const uint8_t *data) +static size_t +max_b128_numbers(size_t len, const uint8_t *data) { size_t rv = 0; while (len--)