summaryrefslogtreecommitdiff
path: root/gcc/conflict.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-09 17:26:27 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-09 17:26:27 +0000
commitaa77e59fb2efeeb22aad6762e190ab05360f1ae1 (patch)
tree8a933151f8fc4f57dc1a7423f8d9e204efb9a82e /gcc/conflict.c
parenta2041fb64cb609c0a754b468c60eb306efe00889 (diff)
downloadgcc-aa77e59fb2efeeb22aad6762e190ab05360f1ae1.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57987 138bc75d-0d04-0410-961f-82ee72b054a4
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 48ca1d69e67..a6d755499bb 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;
{