fixed the coding style in components/init/components.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2528 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
4952adb4f0
commit
f29cfc5e79
@ -13,6 +13,7 @@
|
|||||||
* And all components related header files.
|
* And all components related header files.
|
||||||
* 2012-12-23 Bernard fix the pthread initialization issue.
|
* 2012-12-23 Bernard fix the pthread initialization issue.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "components.h"
|
#include "components.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -78,7 +79,6 @@ void rt_components_init(void)
|
|||||||
#ifdef RT_USING_NEWLIB
|
#ifdef RT_USING_NEWLIB
|
||||||
libc_system_init(RT_CONSOLE_DEVICE_NAME);
|
libc_system_init(RT_CONSOLE_DEVICE_NAME);
|
||||||
#else
|
#else
|
||||||
|
|
||||||
/* the pthread system initialization will be initiallized in libc */
|
/* the pthread system initialization will be initiallized in libc */
|
||||||
#ifdef RT_USING_PTHREADS
|
#ifdef RT_USING_PTHREADS
|
||||||
pthread_system_init();
|
pthread_system_init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user