From 37cd5bb9e3742f4893a14e04d49a4ba9716455c8 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sun, 24 May 2020 01:42:11 -0400 Subject: removed opacity of strbst --- strbst.c | 12 ------------ strbst.h | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/strbst.c b/strbst.c index 2301917..7bb53b1 100644 --- a/strbst.c +++ b/strbst.c @@ -8,18 +8,6 @@ typedef char height; -typedef struct strbstnode { - char* ind; - void* data; - struct strbstnode* left; - struct strbstnode* right; - int ht; -} strbstnode; - -struct strbst { - strbstnode* head; -}; - strbst* newbst(void) { strbst* out = malloc(sizeof(strbst)); out->head = NULL; diff --git a/strbst.h b/strbst.h index 4605bcf..a58b8d3 100644 --- a/strbst.h +++ b/strbst.h @@ -1,6 +1,18 @@ #ifndef __STRBST_H__ #define __STRBST_H__ +typedef struct strbstnode { + char* ind; + void* data; + struct strbstnode* left; + struct strbstnode* right; + int ht; +} strbstnode; + +struct strbst { + strbstnode* head; +}; + typedef struct strbst strbst; strbst* newbst(void); -- cgit