浏览代码

[libc] fix compiling warning for newlib

Bernard Xiong 10 年之前
父节点
当前提交
1bf01f0d38
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      components/libc/newlib/libc.c

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