mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-20 05:25:04 +08:00
[components][cplusplus] 格式化代码
This commit is contained in:
@@ -50,11 +50,11 @@ RT_WEAK int cplusplus_system_init(void)
|
||||
|
||||
for (; base != lim; base++)
|
||||
{
|
||||
PROC *proc = (PROC*)((const char*)base + *base);
|
||||
PROC *proc = (PROC *)((const char *)base + *base);
|
||||
(*proc)();
|
||||
}
|
||||
#elif defined(__GNUC__)
|
||||
typedef void(*pfunc) ();
|
||||
typedef void(*pfunc)();
|
||||
extern pfunc __ctors_start__[];
|
||||
extern pfunc __ctors_end__[];
|
||||
pfunc *p;
|
||||
|
Reference in New Issue
Block a user