summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/io.c1
-rw-r--r--src/note.c1
2 files changed, 2 insertions, 0 deletions
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)
diff --git a/src/note.c b/src/note.c
index 112d1e1..a65a384 100644
--- a/src/note.c
+++ b/src/note.c
@@ -50,6 +50,7 @@ static void note_gc_extract_key (struct note_gc_hash *, char **, int *);
static int note_gc_cmp (struct note_gc_hash *, struct note_gc_hash *);
HTABLE_HEAD (htp, NOTE_GC_HSIZE, note_gc_hash);
+HTABLE_PROTOTYPE (htp, note_gc_hash)
HTABLE_GENERATE (htp, note_gc_hash, note_gc_extract_key, note_gc_cmp)
/* Create note file from a string and return a newly allocated string that