summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-09 21:02:24 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-09 21:02:24 +0000
commitba662a814f8e1d726c8a2cdf4ef80750260d5ca3 (patch)
tree4a82710fa8d269c84ee4b9e887d0f0157d5d582d /libgcc
parent2d917abb6c08558713be43ea51015883a969aa94 (diff)
downloadgcc-ba662a814f8e1d726c8a2cdf4ef80750260d5ca3.tar.gz
Fix typo in gcov.texi
* doc/gcov.texi: Change _gcov_dump to __gcov_dump and _gcov_reset to __gcov_reset. * doc/gcov-tool.texi: Fix typo. * libgcov-util.c: Fix typo and GNU coding style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/libgcov-util.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index aaff3134671..866d14a17a3 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,9 @@
2016-08-09 Martin Liska <mliska@suse.cz>
+ * libgcov-util.c: Fix typo and GNU coding style.
+
+2016-08-09 Martin Liska <mliska@suse.cz>
+
* Makefile.in: Remove __gcov_indirect_call_profiler.
* libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
function.
diff --git a/libgcc/libgcov-util.c b/libgcc/libgcov-util.c
index 7b3bc31ec50..c8fb52d2b1b 100644
--- a/libgcc/libgcov-util.c
+++ b/libgcc/libgcov-util.c
@@ -1391,7 +1391,8 @@ calculate_overlap (struct gcov_info *gcov_list1,
return prg_val;
}
-/* Computer the overlap score of two lists of gcov_info objects PROFILE1 and PROFILE2.
+/* Compute the overlap score of two lists of gcov_info objects PROFILE1 and
+ PROFILE2.
Return 0 on success: without mismatch. Reutrn 1 on error. */
int