From b12d23303f6d3d6d295fd0e9c749ee82bd23fa3f Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 3 Sep 2014 00:43:00 +0000 Subject: * libgcov-interface.c (STRONG_ALIAS): New. (__gcov_flush): Call __gcov_reset_int. (__gcov_reset): Strong alias for ... (__gcov_reset_ing): ... this renamed hidden version. * libgcov.h (__gcov_reset_int): New declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214840 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgcc/libgcov.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libgcc/libgcov.h') diff --git a/libgcc/libgcov.h b/libgcc/libgcov.h index dfef181ce1a..98a15d134a7 100644 --- a/libgcc/libgcov.h +++ b/libgcc/libgcov.h @@ -225,8 +225,10 @@ extern void __gcov_init (struct gcov_info *) ATTRIBUTE_HIDDEN; /* Called before fork, to avoid double counting. */ extern void __gcov_flush (void) ATTRIBUTE_HIDDEN; -/* Function to reset all counters to 0. */ +/* Function to reset all counters to 0. Both externally visible (and + overridable) and internal version. */ extern void __gcov_reset (void); +extern void __gcov_reset_int (void) ATTRIBUTE_HIDDEN; /* Function to enable early write of profile information so far. */ extern void __gcov_dump (void); -- cgit v1.2.1