summaryrefslogtreecommitdiff
path: root/src/user/bootstrap
diff options
context:
space:
mode:
authordzwdz2023-02-23 18:36:11 +0100
committerdzwdz2023-02-23 18:36:11 +0100
commit7f4cdc65a390c5bacab00cc38100d66637394476 (patch)
tree3d280dbd1cf67a0f7a3c73e319d7ba4d20f4b198 /src/user/bootstrap
parent55224307bf9b3e4231daca9ad4c4e3b6d734869b (diff)
fix: misc warnings
Diffstat (limited to 'src/user/bootstrap')
-rw-r--r--src/user/bootstrap/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/bootstrap/main.c b/src/user/bootstrap/main.c
index f2938b9..b6d30f4 100644
--- a/src/user/bootstrap/main.c
+++ b/src/user/bootstrap/main.c
@@ -13,7 +13,7 @@ extern char _bss_end;
extern char _initrd;
__attribute__((section(".text")))
-_Noreturn void main(void) {
+int main(void) {
_sys_memflag(_libc_psdata, 1, MEMFLAG_PRESENT);
setprogname("bootstrap");
setproctitle(NULL);