summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-04-12 10:11:32 +0000
committerBernard Xiong <[email protected]>2015-04-24 11:48:23 +0800
commit1bf01f0d3861741f4b8a2c8e65c1fb3954a660cb (patch)
tree200d8f53d4c8015415d52c8de6d820b440d2f657 /components
parentbec8b3f59fcfced744d9f08e41d6ff4ba39e1822 (diff)
[libc] fix compiling warning for newlib
Diffstat (limited to 'components')
-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);