summaryrefslogtreecommitdiffstats
path: root/src/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.c')
-rw-r--r--src/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.c b/src/hash.c
index 274a140..3ed6ad2 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -193,7 +193,7 @@ int hashtable_iterate(struct hashtable *table, void *data,
return 0;
}
-unsigned int hashtable_counter(struct hashtable *table)
+unsigned int hashtable_counter(const struct hashtable *table)
{
return table->count;
}