aboutsummaryrefslogtreecommitdiff
path: root/config.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 /config.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 'config.c')
-rw-r--r--config.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/config.c b/config.c
index 3634a701..0d0b8cca 100644
--- a/config.c
+++ b/config.c
@@ -19,11 +19,9 @@
#define LOG_ENABLE_DBG 0
#include "log.h"
#include "input.h"
+#include "util.h"
#include "wayland.h"
-#define ALEN(v) (sizeof(v) / sizeof(v[0]))
-#define min(x, y) ((x) < (y) ? (x) : (y))
-
static const uint32_t default_foreground = 0xdcdccc;
static const uint32_t default_background = 0x111111;