From 74536d7a6737e2a4afb006106f1ce30a9a5aeea5 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 28 Nov 2018 03:18:39 +0100 Subject: libcnary: Remove redundant members from node_t struct --- libcnary/include/node.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libcnary/include/node.h') diff --git a/libcnary/include/node.h b/libcnary/include/node.h index f9afdd6..7e9da50 100644 --- a/libcnary/include/node.h +++ b/libcnary/include/node.h @@ -37,20 +37,10 @@ typedef struct node_t { struct node_t* prev; unsigned int count; - // Local Properties - int isRoot; - int isLeaf; - // Local Members void *data; - unsigned int depth; struct node_t* parent; struct node_list_t* children; - - // Virtual Functions - int(*attach)(struct node_t* parent, struct node_t* child); - int(*detach)(struct node_t* parent, struct node_t* child); - } node_t; void node_destroy(struct node_t* node); -- cgit v1.1-32-gdbae