This commit is contained in:
Weber 2024-04-27 19:26:35 +00:00
parent 046d5da94d
commit 92cccf2bfe

View File

@ -1,3 +1,6 @@
#include "binary_search_tree.h"
#include <stdlib.h>
#ifndef BINARY_SEARCH_TREE_H
#define BINARY_SEARCH_TREE_H
#include <stddef.h>
@ -16,9 +19,6 @@ int *sorted_data(node_t *tree);
#endif
#include "binary_search_tree.h"
#include <stdlib.h>
static node_t *create_node(int data) {
node_t *new_node = malloc(sizeof(node_t));
if (new_node != NULL) {