From ff8332d9dcc5b4ee00c050a660a0c3012beea2a5 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sun, 12 Apr 2015 10:11:32 +0000 Subject: [PATCH] [libc] fix compiling warning for newlib --- components/libc/newlib/libc.c | 2 ++ 1 file changed, 2 insertions(+) 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);