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/note.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/note.c') 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 -- cgit v1.2.3-54-g00ecf