hmap: Mark definition of hmap_node_hash() "static inline".
[pspp-builds.git] / src / libpspp / hmap.h
index 095edf104674ba0af56b2a2da7d0bb4687807c0d..c3cf62fa64815297ebcbb3e00a236644a3053a64 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <stdbool.h>
 #include <stddef.h>
-#include <libpspp/cast.h>
+#include "libpspp/cast.h"
 
 /* Returns the data structure corresponding to the given NODE,
    assuming that NODE is embedded as the given MEMBER name in
@@ -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;