diff options
author | katherine <shmibs@airen-no-jikken.icu> | 2019-05-26 18:21:31 -0700 |
---|---|---|
committer | katherine <shmibs@airen-no-jikken.icu> | 2019-05-26 18:21:31 -0700 |
commit | 551a8b3623eb9d89d850fed7a75c776d64f0cd4f (patch) | |
tree | 143ff880a9f6d6e8311e2777b5565ec1ed7a1282 /src/err.h | |
parent | 6804fd50fa107605d652c063c2ae0844b812d4df (diff) | |
download | confconf-551a8b3623eb9d89d850fed7a75c776d64f0cd4f.tar.gz |
add unused struct check
also switch err/warn printing from '\e' to '\x1B', for more-strict c99
compliance
Diffstat (limited to 'src/err.h')
-rw-r--r-- | src/err.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,14 +6,14 @@ #define ERR(...) \ do { \ - fprintf(stderr, "\e[1;31merror:\e[0m " __VA_ARGS__); \ + fprintf(stderr, "\x1B[1;31merror:\x1B[0m " __VA_ARGS__); \ fprintf(stderr, "\n"); \ exit(EXIT_FAILURE); \ } while (0) #define WARN(...) \ do { \ - fprintf(stderr, "\e[1;35mwarning:\e[0m " __VA_ARGS__); \ + fprintf(stderr, "\x1B[1;35mwarning:\x1B[0m " __VA_ARGS__); \ fprintf(stderr, "\n"); \ } while (0) |