summaryrefslogtreecommitdiff
path: root/code/core/htable/htable.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/core/htable/htable.c')
-rw-r--r--code/core/htable/htable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/core/htable/htable.c b/code/core/htable/htable.c
index 82dbcbc..6330ef8 100644
--- a/code/core/htable/htable.c
+++ b/code/core/htable/htable.c
@@ -26,6 +26,7 @@ static ECPConnection *h_search(void *h, unsigned char *k) {
return hashtable_search(h, k);
}
+#ifdef ECP_WITH_HTABLE
int ecp_htable_init(ECPHTableIface *h) {
h->init = 1;
h->create = h_create;
@@ -35,3 +36,4 @@ int ecp_htable_init(ECPHTableIface *h) {
h->search = h_search;
return ECP_OK;
}
+#endif \ No newline at end of file