diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-04-21 11:21:49 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-04-21 11:22:50 +0200 |
commit | 2c77124972e0ad5d8f5667bf96dc2f48d266a17a (patch) | |
tree | b55f1badded94fdb12392366b3b895f9d596df46 /src/note.c | |
parent | 674f398ee9739da5b8f2a155f42322e69eada91f (diff) | |
download | calcurse-2c77124972e0ad5d8f5667bf96dc2f48d266a17a.zip |
Add prototypes for hash table functions
These can be generated dynamically using the HTABLE_PROTOTYPE macro.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/note.c')
-rw-r--r-- | src/note.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |