diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-29 21:11:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-29 21:11:40 +0400 |
commit | 343edf2722a9e114b98944c1147676e630e699b7 (patch) | |
tree | 7b969239ccab922b6390e040f85e96afa956932a /source/blender/blenlib/intern/DLRB_tree.c | |
parent | b6c1850fd35c040c9d489eb42c2190f38564d381 (diff) |
style cleanup: function calls & whitespace.
Diffstat (limited to 'source/blender/blenlib/intern/DLRB_tree.c')
-rw-r--r-- | source/blender/blenlib/intern/DLRB_tree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/DLRB_tree.c b/source/blender/blenlib/intern/DLRB_tree.c index 7c5ee236a35..6398bd863db 100644 --- a/source/blender/blenlib/intern/DLRB_tree.c +++ b/source/blender/blenlib/intern/DLRB_tree.c @@ -44,7 +44,7 @@ DLRBT_Tree *BLI_dlrbTree_new (void) } /* Just zero out the pointers used */ -void BLI_dlrbTree_init (DLRBT_Tree *tree) +void BLI_dlrbTree_init(DLRBT_Tree *tree) { if (tree == NULL) return; @@ -68,7 +68,7 @@ static void recursive_tree_free_nodes (DLRBT_Node *node) } /* Free the given tree's data but not the tree itself */ -void BLI_dlrbTree_free (DLRBT_Tree *tree) +void BLI_dlrbTree_free(DLRBT_Tree *tree) { if (tree == NULL) return; @@ -113,7 +113,7 @@ static void linkedlist_sync_add_node (DLRBT_Tree *tree, DLRBT_Node *node) } /* Make sure the tree's Double-Linked list representation is valid */ -void BLI_dlrbTree_linkedlist_sync (DLRBT_Tree *tree) +void BLI_dlrbTree_linkedlist_sync(DLRBT_Tree *tree) { /* sanity checks */ if (tree == NULL) @@ -486,7 +486,7 @@ static void insert_check_3 (DLRBT_Tree *tree, DLRBT_Node *node) /* Balance the tree after the given element has been added to it * (using custom code, in the Binary Tree way). */ -void BLI_dlrbTree_insert (DLRBT_Tree *tree, DLRBT_Node *node) +void BLI_dlrbTree_insert(DLRBT_Tree *tree, DLRBT_Node *node) { /* sanity checks */ if ((tree == NULL) || (node == NULL)) |