summaryrefslogtreecommitdiff
path: root/src/libc
diff options
context:
space:
mode:
authordzwdz2024-07-27 19:59:37 +0200
committerdzwdz2024-07-27 20:00:29 +0200
commitfe6fbfa07aa8326926049cf62560d940bc7305c0 (patch)
treee97060cb23c8a5a227fe615b97d9213d5fc2ad1e /src/libc
parent58514d351e1f0e8871f534422cf025109ddbb844 (diff)
kernel: don't use pointer types for registers, add proc_savereturn
Diffstat (limited to 'src/libc')
-rw-r--r--src/libc/intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libc/intr.c b/src/libc/intr.c
index c44a90e..12e6f4c 100644
--- a/src/libc/intr.c
+++ b/src/libc/intr.c
@@ -9,6 +9,6 @@ void intr_set(void (*fn)(struct intr_data *)) {
_intr = fn ? fn : intr_null;
}
-void intr_default(struct intr_data *intr) {
+void intr_default(struct intr_data *) {
exit(-1);
}