projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use splay trees inside node_t directly.
[tinc]
/
src
/
hash.h
diff --git
a/src/hash.h
b/src/hash.h
index
e4b1499
..
1a6ce32
100644
(file)
--- a/
src/hash.h
+++ b/
src/hash.h
@@
-20,10
+20,12
@@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "system.h"
+
typedef struct hash_t {
size_t n;
size_t size;
-
char
*keys;
+
uint8_t
*keys;
const void **values;
} hash_t;