summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2022-12-01 22:30:22 +0100
committerBond_009 <bond.009@outlook.com>2022-12-01 22:30:22 +0100
commitbaf4910870a6e8999802b9a4a22eabd4142a34e3 (patch)
tree2d11443dc21e53bd0d99d015cf789937d6d95862 /utils.h
parent49d0c908f24b2c193c9deed1716fe36061ba26a1 (diff)
Move all Advent of Codes into one repo
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/utils.h b/utils.h
deleted file mode 100644
index 840d1d4..0000000
--- a/utils.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef AOC_UTILS_H
-#define AOC_UTILS_H
-
-#define SWAP(a, b) (((a) ^= (b)), ((b) ^= (a)), ((a) ^= (b)))
-
-#define likely(x) __builtin_expect((x), 1)
-#define unlikely(x) __builtin_expect((x), 0)
-
-#endif