aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-10-03 16:47:52 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-10-03 16:47:52 +0000
commit95d75019ff92aa7bb5910cd0091eb8cb395f2a90 (patch)
tree849386badcfcf13df29ffffb2bf195a15a495470 /gcc/profile.c
parentca3075bd73284367f527e7c4e987d3c933638add (diff)
downloadgcc-95d75019ff92aa7bb5910cd0091eb8cb395f2a90.zip
gcc-95d75019ff92aa7bb5910cd0091eb8cb395f2a90.tar.gz
gcc-95d75019ff92aa7bb5910cd0091eb8cb395f2a90.tar.bz2
print-tree.c (print_node, indent_to): Remove redundant prototypes.
* print-tree.c (print_node, indent_to): Remove redundant prototypes. * profile.c (instrument_arcs, output_gcov_string, tablejump_entry_p): Add static prototypes. (output_gcov_string): Constify a char*. * regmove.c (replacement_quality, fixup_match_2): Add static prototypes. * resource.h (reg_dead_p): Add extern prototype. * rtl.c (trim_filename): Add static prototype. * scan-decls.c (skip_to_closing_brace): Likewise. * stmt.c (expand_decl_cleanup_no_eh): Hide definition. (expand_end_case): Initialize variable `range'. (emit_case_nodes): Remove unused prototype `rtx_fn'. * varasm.c (asm_emit_uninitialised): Add static prototype. (asm_emit_uninitialised, assemble_variable): Mark parameter with ATTRIBUTE_UNUSED. From-SVN: r29784
Diffstat (limited to 'gcc/profile.c')
-rw-r--r--gcc/profile.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index 9e7cece..c45818b 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -157,6 +157,9 @@ static void expand_spanning_tree PROTO((int));
static void fill_spanning_tree PROTO((int));
static void init_arc_profiler PROTO((void));
static void output_arc_profiler PROTO((int, rtx));
+static void instrument_arcs PROTO((rtx, int, FILE *));
+static void output_gcov_string PROTO((const char *, long));
+static int tablejump_entry_p PROTO((rtx, rtx));
#ifndef LONG_TYPE_SIZE
#define LONG_TYPE_SIZE BITS_PER_WORD
@@ -388,7 +391,7 @@ instrument_arcs (f, num_blocks, dump_file)
static void
output_gcov_string (string, delimiter)
- char *string;
+ const char *string;
long delimiter;
{
long temp;
@@ -418,7 +421,7 @@ output_gcov_string (string, delimiter)
/* Return TRUE if this insn must be a tablejump entry insn. This works for
the MIPS port, but may give false negatives for some targets. */
-int
+static int
tablejump_entry_p (insn, label)
rtx insn, label;
{