aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-31 16:50:46 +0900
committernsfisis <nsfisis@gmail.com>2025-08-31 16:50:46 +0900
commite09613812ce955c074238e8c91a0ed6eca3dc86f (patch)
tree37977776e60529abb1ee98098ac1364c02e4269b /src/common.h
parent54699e921e23a684c711773b123c1bcfecd91ae0 (diff)
downloadducc-e09613812ce955c074238e8c91a0ed6eca3dc86f.tar.gz
ducc-e09613812ce955c074238e8c91a0ed6eca3dc86f.tar.zst
ducc-e09613812ce955c074238e8c91a0ed6eca3dc86f.zip
feat: enable -Wall flag on build
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index f8f6b1d..98e27e1 100644
--- a/src/common.h
+++ b/src/common.h
@@ -3,7 +3,7 @@
#include "std.h"
-void fatal_error(const char* msg, ...);
+_Noreturn void fatal_error(const char* msg, ...);
#define unreachable() fatal_error("%s:%d: unreachable", __FILE__, __LINE__)
#define unimplemented() fatal_error("%s:%d: unimplemented", __FILE__, __LINE__)