1
0
Эх сурвалжийг харах

[libc] fix compiling warning for newlib

Bernard Xiong 10 жил өмнө
parent
commit
1bf01f0d38

+ 2 - 0
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);