X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsubnet.h;h=f73aaf9531dd3568e069a7808aaa28415242891e;hb=50ad3f2a895c38f8d546f87490ca96ab7d9e011e;hp=c50ac6c8577c4cb0f5a0bbe8417b13dfde6d214d;hpb=de78d79db84c486afcc353884ec1770866beb653;p=tinc diff --git a/src/subnet.h b/src/subnet.h index c50ac6c8..f73aaf95 100644 --- a/src/subnet.h +++ b/src/subnet.h @@ -70,8 +70,8 @@ extern subnet_t *new_subnet(void) __attribute__ ((__malloc__)); extern void free_subnet(subnet_t *); extern void init_subnets(void); extern void exit_subnets(void); -extern avl_tree_t *new_subnet_tree(void) __attribute__ ((__malloc__)); -extern void free_subnet_tree(avl_tree_t *); +extern splay_tree_t *new_subnet_tree(void) __attribute__ ((__malloc__)); +extern void free_subnet_tree(splay_tree_t *); extern void subnet_add(struct node_t *, subnet_t *); extern void subnet_del(struct node_t *, subnet_t *); extern void subnet_update(struct node_t *, subnet_t *, bool);