summaryrefslogtreecommitdiff
path: root/lib/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hash.h')
-rw-r--r--lib/hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hash.h b/lib/hash.h
index 9395440acb..01d2b1ddc8 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -84,6 +84,8 @@ struct hash
char *name;
};
+#define hashcount(X) ((X)->count)
+
extern struct hash *hash_create (unsigned int (*) (void *),
int (*) (const void *, const void *),
const char *);