summaryrefslogtreecommitdiff
path: root/libgcc/libgcov-driver.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-01 10:05:42 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-01 10:05:42 +0000
commitcb3ea3deaa7ac8dcb1d65eb1ef7e4b4a2d5ed376 (patch)
tree8e8e30935e1249bb36ac049299e6fb8117983da3 /libgcc/libgcov-driver.c
parent9c8f71d4dc276f3ae565da139fee5df912608f77 (diff)
downloadgcc-cb3ea3deaa7ac8dcb1d65eb1ef7e4b4a2d5ed376.tar.gz
* Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
LIBGCOV_INTERFACE): Reformat. * libgcov-driver.c (gcov_exit, __gcov_init): Disable when IN_GCOV_TOOL. * libgcov-interface.c: Reformat some comments. (__gcov_flush_mx): Add declaration. Tidy up definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213442 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/libgcov-driver.c')
-rw-r--r--libgcc/libgcov-driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgcc/libgcov-driver.c b/libgcc/libgcov-driver.c
index 8c2510f1b8b..50755358d6e 100644
--- a/libgcc/libgcov-driver.c
+++ b/libgcc/libgcov-driver.c
@@ -775,6 +775,7 @@ gcov_do_dump (struct gcov_info *list, int run_counted)
free (gf.filename);
}
+#if !IN_GCOV_TOOL
void
gcov_exit (void)
{
@@ -840,6 +841,6 @@ __gcov_init (struct gcov_info *info)
}
info->version = 0;
}
-
+#endif /* !IN_GCOV_TOOL */
#endif /* L_gcov */
#endif /* inhibit_libc */