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 --- search.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'search.c') diff --git a/search.c b/search.c index 547ac643..eef7b032 100644 --- a/search.c +++ b/search.c @@ -16,8 +16,7 @@ #include "render.h" #include "selection.h" #include "shm.h" - -#define max(x, y) ((x) > (y) ? (x) : (y)) +#include "util.h" static bool search_ensure_size(struct terminal *term, size_t wanted_size) -- cgit v1.3