util.h: new header file defining commonly used macros

This commit is contained in:
Daniel Eklöf 2020-05-01 11:46:24 +02:00
parent fc2e385d87
commit 69c3e74498
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
14 changed files with 18 additions and 39 deletions

3
grid.c
View file

@ -7,8 +7,7 @@
#define LOG_ENABLE_DBG 0
#include "log.h"
#include "sixel.h"
#define max(x, y) ((x) > (y) ? (x) : (y))
#include "util.h"
void
grid_swap_row(struct grid *grid, int row_a, int row_b, bool initialize)