[libc] fix compiling warning for newlib

This commit is contained in:
Bernard Xiong 2015-04-12 10:11:32 +00:00
parent bec8b3f59f
commit 1bf01f0d38
1 changed files with 2 additions and 0 deletions

View File

@ -51,5 +51,7 @@ int libc_system_init(void)
#ifdef RT_USING_PTHREADS #ifdef RT_USING_PTHREADS
pthread_system_init(); pthread_system_init();
#endif #endif
return 0;
} }
INIT_COMPONENT_EXPORT(libc_system_init); INIT_COMPONENT_EXPORT(libc_system_init);