From 00c5b27bfaa34c57bd4e148fbd52b4f6e1e0262d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 6 Jul 2019 13:25:36 +0200 Subject: vt: add branch hinting to PRINT action --- terminal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 099e384a..235108af 100644 --- a/terminal.h +++ b/terminal.h @@ -12,6 +12,9 @@ #include "tllist.h" +#define likely(c) __builtin_expect(!!(c), 1) +#define unlikely(c) __builtin_expect(!!(c), 0) + struct wayland { struct wl_display *display; struct wl_registry *registry; -- cgit v1.3