From 4b938f84aa68af17d5f7487523ad2a478abb7b6d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 9 Nov 2011 21:16:19 -0800 Subject: [PATCH] hmap: Mark definition of hmap_node_hash() "static inline". This suppresses a Clang warning. The prototype earlier in the file was already marked "static inline", so I don't think that this is a functional change. Reported-by: Jeremy Lavergne --- src/libpspp/hmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpspp/hmap.h b/src/libpspp/hmap.h index 2776c6c8..c3cf62fa 100644 --- a/src/libpspp/hmap.h +++ b/src/libpspp/hmap.h @@ -248,7 +248,7 @@ static inline struct hmap_node *hmap_first_nonempty_bucket__ ( static inline size_t hmap_mask_to_capacity__ (size_t mask); /* Returns the hash value associated with NODE. */ -size_t +static inline size_t hmap_node_hash (const struct hmap_node *node) { return node->hash; -- 2.30.2