From 342f8d6e507b1a5c8dfd3f48936fed32ed0997e4 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Fri, 10 Mar 2017 15:31:56 -0800 Subject: src/lib: Fix brace positions Fix the following errors detected by checkpatch.pl: ERROR: open brace '{' following function declarations go on the next line ERROR: that open brace { should be on the previous line ERROR: open brace '{' following struct go on the same line ERROR: else should follow close brace '}' TEST=Build and run on Galileo Gen2 Change-Id: I971ada9ba9ba7ce5d8029323710fee1a6166570b Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18759 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/lib/libgcov.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libgcov.c') diff --git a/src/lib/libgcov.c b/src/lib/libgcov.c index 22a83c164f..2cfda0a364 100644 --- a/src/lib/libgcov.c +++ b/src/lib/libgcov.c @@ -109,8 +109,7 @@ void __gcov_merge_add(gcov_type *counters __attribute__ ((unused)), #ifdef L_gcov #include "gcov-io.c" -struct gcov_fn_buffer -{ +struct gcov_fn_buffer { struct gcov_fn_buffer *next; unsigned int fn_ix; struct gcov_fn_info info; -- cgit v1.2.3