changing {} style to match majority of previous style

This commit is contained in:
Philippe Teuwen 2019-03-10 11:20:22 +01:00
commit 961d929f4d
320 changed files with 5502 additions and 10485 deletions

View file

@ -26,8 +26,7 @@
#include <stdarg.h>
#include <stdio.h>
static CborError cbor_fprintf(void *out, const char *fmt, ...)
{
static CborError cbor_fprintf(void *out, const char *fmt, ...) {
int n;
va_list list;
@ -60,8 +59,7 @@ static CborError cbor_fprintf(void *out, const char *fmt, ...)
*
* \sa cbor_value_to_pretty(), cbor_value_to_pretty_stream(), cbor_value_to_json_advance()
*/
CborError cbor_value_to_pretty_advance(FILE *out, CborValue *value)
{
CborError cbor_value_to_pretty_advance(FILE *out, CborValue *value) {
return cbor_value_to_pretty_stream(cbor_fprintf, out, value, CborPrettyDefaultFlags);
}
@ -80,8 +78,7 @@ CborError cbor_value_to_pretty_advance(FILE *out, CborValue *value)
*
* \sa cbor_value_to_pretty_stream(), cbor_value_to_pretty(), cbor_value_to_json_advance()
*/
CborError cbor_value_to_pretty_advance_flags(FILE *out, CborValue *value, int flags)
{
CborError cbor_value_to_pretty_advance_flags(FILE *out, CborValue *value, int flags) {
return cbor_value_to_pretty_stream(cbor_fprintf, out, value, flags);
}