[coreboot] New patch to review for coreboot: 31cda9f Make the pre-commit-hook happy about the code in libgcov.c
Ronald G. Minnich (rminnich@gmail.com)
gerrit at coreboot.org
Mon Jan 14 00:24:08 CET 2013
Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2143
-gerrit
commit 31cda9fa794ec8ebee576cb327afbbde92b25220
Author: Ronald G. Minnich <rminnich at gmail.com>
Date: Sun Jan 13 17:22:42 2013 -0600
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 <rminnich at gmail.com>
---
src/lib/libgcov.c | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
diff --git a/src/lib/libgcov.c b/src/lib/libgcov.c
index 4adf75e..6107407 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)
{
More information about the coreboot
mailing list