summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2024-12-22 23:24:47 +0000
committerGitHub <noreply@github.com>2024-12-22 15:24:47 -0800
commit2a152a9676ed57b7b913ad80b556b5e569ada908 (patch)
tree19cc3a7881fa0efe4c68f368f651e5ffb20e1b4a /src/code
parent16d8f4870dcc0d564c6554171dbe697db68c933c (diff)
Apply the NORETURN attribute to functions that do not return (#1768)
* Apply the NORETURN attribute to functions that do not return * Add NORETURN to debug.c functions
Diffstat (limited to 'src/code')
-rw-r--r--src/code/code_80183070.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/code_80183070.c b/src/code/code_80183070.c
index 974cdd4a3..bb3d2803e 100644
--- a/src/code/code_80183070.c
+++ b/src/code/code_80183070.c
@@ -1,6 +1,7 @@
#include "libc64/sleep.h"
+#include "attributes.h"
-void func_80183070(void) {
+NORETURN void func_80183070(void) {
for (;;) {
msleep(1000);
}