diff options
author | sin <sin@2f30.org> | 2019-08-23 10:59:03 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2019-08-24 11:25:43 +0100 |
commit | 237f8a910e96ca9b6a7f4c9438010e7995797ac1 (patch) | |
tree | 28ea8ed31c616013fd540b6e38be7b6e53958f27 | |
parent | a4c4570b0b249bebe74951f3ca8887ea6c644c12 (diff) | |
download | noice-237f8a910e96ca9b6a7f4c9438010e7995797ac1.tar.gz |
Move MIN() to util.h
-rw-r--r-- | noice.c | 2 | ||||
-rw-r--r-- | util.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -18,8 +18,6 @@ #include "util.h" -#undef MIN -#define MIN(x, y) ((x) < (y) ? (x) : (y)) #define ISODD(x) ((x) & 1) #define CONTROL(c) ((c) ^ 0x40) #define META(c) ((c) ^ 0x80) @@ -1,4 +1,6 @@ /* See LICENSE file for copyright and license details. */ +#undef MIN +#define MIN(x, y) ((x) < (y) ? (x) : (y)) #define LEN(x) (sizeof(x) / sizeof(*(x))) #define NR_ARGS 32 |