summaryrefslogtreecommitdiff
path: root/net/spreadlogd/patches/patch-ab
blob: 1ff6cb235215a66cb164c4eebd4058369725ac99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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