summaryrefslogtreecommitdiff
path: root/code/core/htable
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-08-19 19:16:18 +0200
committerUros Majstorovic <majstor@majstor.org>2017-08-19 19:16:18 +0200
commit050bf97c2dc6c22e7b3134e281ee892e5351439f (patch)
treedc44faa97f20c03bc0d3dd6d0a1e4d121c9562dd /code/core/htable
parent5d20e9bafc3571f37eb0d9b74699d023d2d3d13a (diff)
timer improved; rbuf finally implemented
Diffstat (limited to 'code/core/htable')
-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