diff --git a/components/libc/newlib/libc.c b/components/libc/newlib/libc.c index 0427a6d91b..e1a2c54074 100644 --- a/components/libc/newlib/libc.c +++ b/components/libc/newlib/libc.c @@ -51,5 +51,7 @@ int libc_system_init(void) #ifdef RT_USING_PTHREADS pthread_system_init(); #endif + + return 0; } INIT_COMPONENT_EXPORT(libc_system_init);