From 2c77124972e0ad5d8f5667bf96dc2f48d266a17a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 21 Apr 2012 11:21:49 +0200 Subject: Add prototypes for hash table functions These can be generated dynamically using the HTABLE_PROTOTYPE macro. Signed-off-by: Lukas Fleischer --- src/io.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index 7f8565a..f6388df 100644 --- a/src/io.c +++ b/src/io.c @@ -78,6 +78,7 @@ static int load_keys_ht_compare (struct ht_keybindings_s *, #define HSIZE 256 HTABLE_HEAD (ht_keybindings, HSIZE, ht_keybindings_s); +HTABLE_PROTOTYPE (ht_keybindings, ht_keybindings_s) HTABLE_GENERATE (ht_keybindings, ht_keybindings_s, load_keys_ht_getkey, load_keys_ht_compare) -- cgit v1.2.3-54-g00ecf