[components][cplusplus] 格式化代码

This commit is contained in:
tangyuxin
2019-04-03 17:25:49 +08:00
parent 583f8c3073
commit ae41b850c4
7 changed files with 10 additions and 10 deletions

View File

@@ -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;