Commit 1f15ba9c authored by Robert Edmonds's avatar Robert Edmonds

protobuf-c: minor style fixes

parent 3429d8b1
......@@ -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--)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment