summaryrefslogtreecommitdiffstats
path: root/src/core/crash-handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/crash-handler.h')
-rw-r--r--src/core/crash-handler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/crash-handler.h b/src/core/crash-handler.h
new file mode 100644
index 0000000..dc14335
--- /dev/null
+++ b/src/core/crash-handler.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include "macro.h"
+
+_noreturn_ void freeze_or_exit_or_reboot(void);
+void install_crash_handler(void);