test
This commit is contained in:
parent
046d5da94d
commit
92cccf2bfe
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user