diff options
| author | Bernard Xiong <[email protected]> | 2015-04-12 10:11:32 +0000 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-04-24 11:48:23 +0800 |
| commit | 1bf01f0d3861741f4b8a2c8e65c1fb3954a660cb (patch) | |
| tree | 200d8f53d4c8015415d52c8de6d820b440d2f657 /components/libc | |
| parent | bec8b3f59fcfced744d9f08e41d6ff4ba39e1822 (diff) | |
[libc] fix compiling warning for newlib
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/newlib/libc.c | 2 |
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); |
