From df8d98fb41a218e41bbf8cdc8a3f89a61cb04f23 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sat, 16 Nov 2024 13:04:54 -0700 Subject: Properly link against picolibc. We now have full access to a c standard library. --- src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init.c') diff --git a/src/init.c b/src/init.c index 5753a13..1d9474a 100644 --- a/src/init.c +++ b/src/init.c @@ -97,7 +97,7 @@ void init_data_segments(void) /* * External reference to the main() function. */ -extern void main(void); +extern int main(void); /* Start function. Responsible for initializing the system and jumping to the * main function. */ -- cgit