summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-04-12 10:11:32 +0000
committerBernard Xiong <[email protected]>2015-04-12 10:11:32 +0000
commitff8332d9dcc5b4ee00c050a660a0c3012beea2a5 (patch)
tree2bfcdf6348443c75a101e45fd3e9ec809956d1c3
parentf36a1d92a403c2f32a438ee1a8a014017939ee10 (diff)
[libc] fix compiling warning for newlib
-rw-r--r--components/libc/newlib/libc.c2
1 files changed, 2 insertions, 0 deletions
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);