From 40feb7abd70bcf9aea434ef1e766c59a320c491a Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Wed, 25 Jan 2017 13:58:15 +0100 Subject: [PATCH] isl_space_get_hash: rename "dim" argument to "space" Signed-off-by: Sven Verdoolaege --- isl_space.c | 6 +++--- isl_space_private.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/isl_space.c b/isl_space.c index 4f6481a3..e063dba6 100644 --- a/isl_space.c +++ b/isl_space.c @@ -1993,15 +1993,15 @@ static uint32_t isl_hash_space_domain(uint32_t hash, return hash; } -uint32_t isl_space_get_hash(__isl_keep isl_space *dim) +uint32_t isl_space_get_hash(__isl_keep isl_space *space) { uint32_t hash; - if (!dim) + if (!space) return 0; hash = isl_hash_init(); - hash = isl_hash_space(hash, dim); + hash = isl_hash_space(hash, space); return hash; } diff --git a/isl_space_private.h b/isl_space_private.h index 8f546535..21976eb9 100644 --- a/isl_space_private.h +++ b/isl_space_private.h @@ -27,7 +27,7 @@ __isl_give isl_space *isl_space_cow(__isl_take isl_space *dim); __isl_give isl_space *isl_space_underlying(__isl_take isl_space *dim, unsigned n_div); -uint32_t isl_space_get_hash(__isl_keep isl_space *dim); +uint32_t isl_space_get_hash(__isl_keep isl_space *space); uint32_t isl_space_get_domain_hash(__isl_keep isl_space *space); isl_bool isl_space_is_domain_internal(__isl_keep isl_space *space1, -- 2.11.4.GIT