From 69c3e744983e37662fa7b4f61482fb1d142e257c Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 1 May 2020 11:46:24 +0200 Subject: util.h: new header file defining commonly used macros --- sixel.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sixel.c') 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; -- cgit v1.3