From 7f4cdc65a390c5bacab00cc38100d66637394476 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 23 Feb 2023 18:36:11 +0100 Subject: fix: misc warnings --- src/user/bootstrap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/bootstrap/main.c') 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); -- cgit v1.2.3