summaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-03 16:47:52 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-03 16:47:52 +0000
commit5b379086b4667d1a9deab9d2f7683d95bb0d5239 (patch)
tree849386badcfcf13df29ffffb2bf195a15a495470 /gcc/profile.c
parent29fd0b7ab06e56732fcefa586b6e08937fc02633 (diff)
downloadgcc-5b379086b4667d1a9deab9d2f7683d95bb0d5239.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29784 138bc75d-0d04-0410-961f-82ee72b054a4
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 9e7cece72d0..c45818b3c76 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;
{