From 850793f6d0f272012584b416c5cbb0313a07f542 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Sun, 13 Jan 2013 17:22:42 -0600 Subject: Make the pre-commit-hook happy about the code in libgcov.c Make the comments match what pre-commit-hook wants. Change-Id: Ib99a6583f97221df3638bd3b7723f51d5f9c223c Signed-off-by: Ronald G. Minnich Reviewed-on: http://review.coreboot.org/2143 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/lib/libgcov.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'src') diff --git a/src/lib/libgcov.c b/src/lib/libgcov.c index 4adf75ebff..610740792a 100644 --- a/src/lib/libgcov.c +++ b/src/lib/libgcov.c @@ -811,14 +811,15 @@ __gcov_merge_ior (gcov_type *counters, unsigned n_counters) #ifdef L_gcov_merge_single /* The profile merging function for choosing the most common value. - It is given an array COUNTERS of N_COUNTERS old counters and it - reads the same number of counters from the gcov file. The counters - are split into 3-tuples where the members of the tuple have - meanings: - - -- the stored candidate on the most common value of the measured entity - -- counter - -- total number of evaluations of the value */ + * It is given an array COUNTERS of N_COUNTERS old counters and it + * reads the same number of counters from the gcov file. The counters + * are split into 3-tuples where the members of the tuple have + * meanings: + * + * -- the stored candidate on the most common value of the measured entity + * -- counter + * -- total number of evaluations of the value + */ void __gcov_merge_single (gcov_type *counters, unsigned n_counters) { @@ -849,15 +850,16 @@ __gcov_merge_single (gcov_type *counters, unsigned n_counters) #ifdef L_gcov_merge_delta /* The profile merging function for choosing the most common - difference between two consecutive evaluations of the value. It is - given an array COUNTERS of N_COUNTERS old counters and it reads the - same number of counters from the gcov file. The counters are split - into 4-tuples where the members of the tuple have meanings: - - -- the last value of the measured entity - -- the stored candidate on the most common difference - -- counter - -- total number of evaluations of the value */ + * difference between two consecutive evaluations of the value. It is + * given an array COUNTERS of N_COUNTERS old counters and it reads the + * same number of counters from the gcov file. The counters are split + * into 4-tuples where the members of the tuple have meanings: + * + * -- the last value of the measured entity + * -- the stored candidate on the most common difference + * -- counter + * -- total number of evaluations of the value + */ void __gcov_merge_delta (gcov_type *counters, unsigned n_counters) { -- cgit v1.2.3