From 17c3451c18389990d74936e79ee19a4aa15e97d0 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Tue, 15 Jan 2008 12:53:58 +0000 Subject: Max Kellermann : use const when possible --- src/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hash.c') 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; } -- cgit v1.2.3