projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace pointers to global splay trees with structs.
[tinc]
/
src
/
subnet.h
diff --git
a/src/subnet.h
b/src/subnet.h
index
f50b13b
..
2e27f68
100644
(file)
--- a/
src/subnet.h
+++ b/
src/subnet.h
@@
-63,7
+63,7
@@
typedef struct subnet_t {
#define MAXNETSTR 64
-extern splay_tree_t
*
subnet_tree;
+extern splay_tree_t subnet_tree;
extern int subnet_compare(const struct subnet_t *a, const struct subnet_t *b);
extern subnet_t *new_subnet(void) __attribute__((__malloc__));