summaryrefslogtreecommitdiff
path: root/net/spreadlogd/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/spreadlogd/patches/patch-ab')
-rw-r--r--net/spreadlogd/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/spreadlogd/patches/patch-ab b/net/spreadlogd/patches/patch-ab
new file mode 100644
index 00000000000..1ff6cb23521
--- /dev/null
+++ b/net/spreadlogd/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/07/29 06:58:59 obache Exp $
+
+--- echash.h.orig 2006-05-04 13:21:46.000000000 +0100
++++ echash.h
+@@ -88,11 +88,4 @@ API_EXPORT(int) echash_next(ec_hash_tabl
+ API_EXPORT(int) echash_firstkey(ec_hash_table *h, const char **k, int *klen);
+ API_EXPORT(int) echash_nextkey(ec_hash_table *h, const char **k, int *klen, char *lk, int lklen);
+
+-/* This function serves no real API use sans calculating expected buckets
+- for keys (or extending the hash... which is unsupported) */
+-API_EXPORT(unsigned int) echash__hash(const char *k, u_int32_t length,
+- u_int32_t initval);
+-API_EXPORT(ec_hash_bucket *) echash__new_bucket(const char *k, int klen,
+- void *data);
+-API_EXPORT(void) echash__rebucket(ec_hash_table *h, int newsize);
+ #endif