aboutsummaryrefslogtreecommitdiff
path: root/sixel.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-01 09:46:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-01 09:46:24 +0000
commit69c3e744983e37662fa7b4f61482fb1d142e257c (patch)
treec32f324f64bd0a581a14853b6bf638fe9d2125c0 /sixel.c
parentterm: don't enable ptmx FDM callback until Wayland window has been configured (diff)
util.h: new header file defining commonly used macros
Diffstat (limited to 'sixel.c')
-rw-r--r--sixel.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sixel.c b/sixel.c
index f335fdff..2d33cf99 100644
--- a/sixel.c
+++ b/sixel.c
@@ -7,11 +7,7 @@
#include "log.h"
#include "render.h"
#include "sixel-hls.h"
-
-#define ALEN(v) (sizeof(v) / sizeof(v[0]))
-#define max(x, y) ((x) > (y) ? (x) : (y))
-#define min(x, y) ((x) < (y) ? (x) : (y))
-
+#include "util.h"
static size_t count;