projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e91b6c7
)
hmap: Mark definition of hmap_node_hash() "static inline".
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 10 Nov 2011 05:16:19 +0000
(21:16 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 10 Nov 2011 05:30:26 +0000
(21:30 -0800)
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 <jeremy@lavergne.gotdns.org>
src/libpspp/hmap.h
patch
|
blob
|
history
diff --git
a/src/libpspp/hmap.h
b/src/libpspp/hmap.h
index 2776c6c8b0c840f1649a5c7f891caff8bd8d334d..c3cf62fa64815297ebcbb3e00a236644a3053a64 100644
(file)
--- 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
+s
tatic inline s
ize_t
hmap_node_hash (const struct hmap_node *node)
{
return node->hash;