diff --git a/a3/binary_search_tree.c b/a3/binary_search_tree.c index 6075137..6463b19 100644 --- a/a3/binary_search_tree.c +++ b/a3/binary_search_tree.c @@ -1,3 +1,6 @@ + +#include "binary_search_tree.h" +#include #ifndef BINARY_SEARCH_TREE_H #define BINARY_SEARCH_TREE_H #include @@ -16,9 +19,6 @@ int *sorted_data(node_t *tree); #endif -#include "binary_search_tree.h" -#include - static node_t *create_node(int data) { node_t *new_node = malloc(sizeof(node_t)); if (new_node != NULL) {