aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcov-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/libgcov-driver.c')
-rw-r--r--libgcc/libgcov-driver.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libgcc/libgcov-driver.c b/libgcc/libgcov-driver.c
index f8abdb1..ef0505e 100644
--- a/libgcc/libgcov-driver.c
+++ b/libgcc/libgcov-driver.c
@@ -42,6 +42,10 @@ void __gcov_init (struct gcov_info *p __attribute__ ((unused))) {}
#endif
#ifdef L_gcov
+
+/* A utility function for outputing errors. */
+static int gcov_error (const char *, ...);
+
#include "gcov-io.c"
/* The following functions can be called from outside of this file. */
@@ -108,9 +112,6 @@ reset_gcov_dump_complete (void)
gcov_dump_complete = 0;
}
-/* A utility function for outputing errors. */
-static int gcov_error (const char *, ...);
-
static struct gcov_fn_buffer *
free_fn_data (const struct gcov_info *gi_ptr, struct gcov_fn_buffer *buffer,
unsigned limit)