summaryrefslogtreecommitdiff
path: root/gcc/gcov-io.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-29 13:48:38 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-29 13:48:38 +0000
commit1186f97a1a6410d6166b1f5499c7e8af43d6681b (patch)
treea6a115ff7783aca4e43d8fcf658630bb5047a46c /gcc/gcov-io.c
parentb47d9d2fb810b5a5c95253f65195eb5a2cacd04b (diff)
downloadgcc-1186f97a1a6410d6166b1f5499c7e8af43d6681b.tar.gz
libgcc/
* libgcov.h: Move renaming of entry points to lib gcov specific portion. (gcov_do_dump): New rename. (gcov_rewrite): Remove inline, make HIDDEN. * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations. (gcov_exit_compute_summary): Rename to ... (compute_summary): ... here. Add LIST argument. (gcov_exit_merge_gcda): Rename to ... (merge_one_data): ... here. (gcov_exit_write_gcda): Rename to ... (write_one_data): ... here. (gcov_exit_merge_summary): Rename to ... (merge_summary): Add RUN_COUNTED argument. (gcov_exit_dump_gcov): Rename to ... (dump_one_gcov): Add RUN_COUNTED argument. (gcov_do_dump): New function, broken out of ... (gcov_exit): ... here. Call it. gcc/ * gcov-io.c (gcov_var): Make hidden. * gcov-tool.c (gcov_list, gcov_exit): Remove declarations. (gcov_do_dump): Declare. (gcov_output_files): Call gcov_do_dump, not gcov_exit). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213188 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov-io.c')
-rw-r--r--gcc/gcov-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcov-io.c b/gcc/gcov-io.c
index c2cd170522c..75169463c3b 100644
--- a/gcc/gcov-io.c
+++ b/gcc/gcov-io.c
@@ -39,7 +39,7 @@ static void gcov_allocate (unsigned);
/* Optimum number of gcov_unsigned_t's read from or written to disk. */
#define GCOV_BLOCK_SIZE (1 << 10)
-GCOV_LINKAGE struct gcov_var
+GCOV_LINKAGE ATTRIBUTE_HIDDEN struct gcov_var
{
FILE *file;
gcov_position_t start; /* Position of first byte of block */