aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-06 10:18:36 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-06 10:18:36 +0000
commit644859019e4000501c10893d1135f074bcccb038 (patch)
tree5ba24f69d383378a9a3fe86c8d83cbead89f19c1 /terminal.h
parentgrid: reflow: don't insert <width> spacer cells for *every* empty cell (diff)
parentxmalloc: log error to syslog() in fatal_error() function (diff)
Merge branch 'xmalloc' into master
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/terminal.h b/terminal.h
index 9d9ed1be..1b41848d 100644
--- a/terminal.h
+++ b/terminal.h
@@ -13,12 +13,10 @@
//#include "config.h"
#include "fdm.h"
+#include "macros.h"
#include "reaper.h"
#include "wayland.h"
-#define likely(c) __builtin_expect(!!(c), 1)
-#define unlikely(c) __builtin_expect(!!(c), 0)
-
/*
* Note: we want the cells to be as small as possible. Larger cells
* means fewer scrollback lines (or performance drops due to cache