diff options
-rw-r--r-- | buf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,7 +3,9 @@ #include <string.h> #include "buf.h" -#define min(a,b) (a<b) ? a : b +int min(int a, int b) { + return ((a<b) ? a : b); +} struct buf_node{ char* text; |