diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -66,11 +66,6 @@ static inline char *str_to_cstr(String s) { return cstr(s.str, s.len); } -static void print_str(String s) { - fwrite(s.str, 1, s.len, stdout); - printf("\n"); -} - static inline bool str_eq_cstr(String s, const char *str) { return strncmp(s.str, str, s.len) == 0; } @@ -109,4 +104,8 @@ static U32 *bsearch_u32(U32 *data, size_t count, U32 search) { return NULL; } +static void print_str(String s) { + fwrite(s.str, 1, s.len, stdout); + printf("\n"); +} |