diff options
Diffstat (limited to 'strbst.c')
-rw-r--r-- | strbst.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,8 +7,9 @@ strbst defines strbst with one member: strbstnode->head. strbstnode has left, right, data, ind, and ht for avl balancing */ -#define max(a,b) ((a > b) ? a : b) -#define min(a,b) ((a < b) ? a : b) +int max(int a, int b) { + return ( (a < b) ? a : b); +} typedef char height; |