summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
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 */