summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/adt_tree.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/adt_tree.h b/source3/include/adt_tree.h
index 3acda8edb8..08c7791802 100644
--- a/source3/include/adt_tree.h
+++ b/source3/include/adt_tree.h
@@ -22,16 +22,16 @@
/* data structure used to build the tree */
-typedef struct _tree_node {
- struct _tree_node *parent;
- struct _tree_node **children;
+struct tree_node {
+ struct tree_node *parent;
+ struct tree_node **children;
int num_children;
char *key;
void *data_p;
-} TREE_NODE;
+};
typedef struct _tree_root {
- TREE_NODE *root;
+ struct tree_node *root;
/* not used currently (is it needed?) */
int (*compare)(void* x, void *y);