summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorThomas Osterried <ax25@x-berg.in-berlin.de>2022-05-02 02:21:01 +0200
committerThomas Osterried <ax25@x-berg.in-berlin.de>2022-05-02 02:21:01 +0200
commita37aceea9ffbcbdc25819443905369a6f8cd395e (patch)
treebc5b295f400adedefcba11e342cd3d6b359fb1b8 /util.h
parent25619cc79e58a68bf88381a75ecdf93a9b8f9c90 (diff)
parent415b2d46a39302b21b51758e83f81e5439ab487c (diff)
Merge branch 'master' of ssh://git.linux-ax25.org/pub/scm/libax25
Diffstat (limited to 'util.h')
-rw-r--r--util.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/util.h b/util.h
new file mode 100644
index 0000000..2d2c252
--- /dev/null
+++ b/util.h
@@ -0,0 +1,12 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ */
+#ifndef __LIBAX25_UTIL_H
+#define __LIBAX25_UTIL_H
+
+#define unreachable() \
+ do { __builtin_unreachable(); } while (0)
+
+#endif /* __LIBAX25_UTIL_H */