aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-23 11:46:02 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-23 11:47:08 +0530
commita3c16056c2ea8083db39054271f1118aed37ccc3 (patch)
treeb65ad6d8fe4e603cb000ce89501a052df75a4a99 /include
parent4740b89e88dff04361da7f7f3bd9e823fd75d5b2 (diff)
htab: clean up
Diffstat (limited to 'include')
-rw-r--r--include/htab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/htab.h b/include/htab.h
index 70a0893..7ea1730 100644
--- a/include/htab.h
+++ b/include/htab.h
@@ -9,7 +9,7 @@ struct htab {
};
void htab_free(struct htab *htab);
-int htab_init(struct htab **htab);
+int htab_init(size_t nel, struct htab **htab);
int htab_delete(struct htab *htab, const char *key);
int htab_enter(struct htab *htab, const char *key, void *data);
int htab_search(struct htab *htab, char *key, ENTRY **ep);