summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hash.h b/hash.h
index a0757c6b..bc079a11 100644
--- a/hash.h
+++ b/hash.h
@@ -16,6 +16,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef _HASH_H
+#define _HASH_H
+
struct hash_elem
{
const char *key;
@@ -41,3 +44,5 @@ void *hash_find_hash (const HASH * table, int hash, const char *key);
void hash_delete_hash (HASH * table, int hash, const char *key, const void *data,
void (*destroy) (void *));
void hash_destroy (HASH ** hash, void (*destroy) (void *));
+
+#endif