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 --- commands.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'commands.c') diff --git a/commands.c b/commands.c index 53d0dfb3..ffe03f3b 100644 --- a/commands.c +++ b/commands.c @@ -6,9 +6,7 @@ #include "terminal.h" #include "render.h" #include "grid.h" - -#define max(x, y) ((x) > (y) ? (x) : (y)) -#define min(x, y) ((x) < (y) ? (x) : (y)) +#include "util.h" void cmd_scrollback_up(struct terminal *term, int rows) -- cgit v1.3