Browse Source

[libc] fix compiling warning for newlib

Bernard Xiong 10 years ago
parent
commit
1bf01f0d38
1 changed files with 2 additions and 0 deletions
  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);