aboutsummaryrefslogtreecommitdiff
path: root/gcc/conflict.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-10-09 17:26:27 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-10-09 17:26:27 +0000
commitfb7e6024db53e6e658bde922399e7e94930f25d3 (patch)
tree8a933151f8fc4f57dc1a7423f8d9e204efb9a82e /gcc/conflict.c
parent36f7e96410747bc76e93b6c9495610eec0766e9d (diff)
downloadgcc-fb7e6024db53e6e658bde922399e7e94930f25d3.zip
gcc-fb7e6024db53e6e658bde922399e7e94930f25d3.tar.gz
gcc-fb7e6024db53e6e658bde922399e7e94930f25d3.tar.bz2
conflict.c (arc_hash): Change return type to hashval_t.
* conflict.c (arc_hash): Change return type to hashval_t. * cselib.c (get_value_hash): Likewise. * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash, state_hash, automata_list_hash): Likewise. * read-rtl.c (def_hash): Likewise. * tree.c (type_hash_hash): Likewise. From-SVN: r57987
Diffstat (limited to 'gcc/conflict.c')
-rw-r--r--gcc/conflict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/conflict.c b/gcc/conflict.c
index 48ca1d6..a6d7554 100644
--- a/gcc/conflict.c
+++ b/gcc/conflict.c
@@ -112,7 +112,7 @@ struct conflict_graph_def
R1 and R2. R1 is assumed to be smaller or equal to R2. */
#define CONFLICT_HASH_FN(R1, R2) ((R2) * ((R2) - 1) / 2 + (R1))
-static unsigned arc_hash PARAMS ((const void *));
+static hashval_t arc_hash PARAMS ((const void *));
static int arc_eq PARAMS ((const void *, const void *));
static int print_conflict PARAMS ((int, int, void *));
static void mark_reg PARAMS ((rtx, rtx, void *));
@@ -120,7 +120,7 @@ static void mark_reg PARAMS ((rtx, rtx, void *));
/* Callback function to compute the hash value of an arc. Uses
current_graph to locate the graph to which the arc belongs. */
-static unsigned
+static hashval_t
arc_hash (arcp)
const void *arcp;
{