diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-05-24 01:42:11 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-05-24 01:42:11 -0400 |
commit | 37cd5bb9e3742f4893a14e04d49a4ba9716455c8 (patch) | |
tree | 10120e0810082a332e10647c99c3f2c2cc722374 | |
parent | 3263fcbb58566fc1fe1ec3891fccd858cb4e6894 (diff) |
removed opacity of strbst
-rw-r--r-- | strbst.c | 12 | ||||
-rw-r--r-- | strbst.h | 12 |
2 files changed, 12 insertions, 12 deletions
@@ -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; @@ -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); |