summaryrefslogtreecommitdiff
path: root/src/user/include/knob/quit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/knob/quit.h')
-rw-r--r--src/user/include/knob/quit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/user/include/knob/quit.h b/src/user/include/knob/quit.h
new file mode 100644
index 0000000..7b10d09
--- /dev/null
+++ b/src/user/include/knob/quit.h
@@ -0,0 +1,7 @@
+#ifndef KNOB_QUIT_H
+#define KNOB_QUIT_H
+
+void on_quit(void (*run_f)());
+void quit() __attribute__ ((noreturn));
+
+#endif \ No newline at end of file