summaryrefslogtreecommitdiff
path: root/head
diff options
context:
space:
mode:
authorIan M. <ian@aptel.org>2026-10-04 22:00:12 +0000
committerIan M. <ian@aptel.org>2026-10-04 22:00:32 +0000
commit5af35efce67446c47c4816013cd06474631decad (patch)
treebbb50e54428a8a3a7511f1f4a7c39e48dbce7024 /head
parent7f21fd6b283a6b2f43b21b3d7ec7235ddb651ad5 (diff)
state: Add atas_fatal() to terminate execution
Signed-off-by: Ian M. <ian@aptel.org>
Diffstat (limited to 'head')
-rw-r--r--head/atas/state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/head/atas/state.h b/head/atas/state.h
index 6e1fed9..186669f 100644
--- a/head/atas/state.h
+++ b/head/atas/state.h
@@ -35,4 +35,11 @@ int atas_state_init(const char *in_file, struct atas_state *state);
*/
void atas_state_destroy(struct atas_state *state);
+/*
+ * Used during fatal errors
+ *
+ * @state: Assembler state
+ */
+void atas_fatal(struct atas_state *state);
+
#endif /* !ATAS_STATE_H */