!129 fix: fix __cplusplus typo

Merge pull request !129 from kenneth/task_sample.h
This commit is contained in:
openharmony_ci 2021-05-18 14:02:05 +08:00 committed by Gitee
commit 0e14ddffd3
5 changed files with 20 additions and 20 deletions

View File

@ -40,16 +40,16 @@
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
extern "C" { extern "C" {
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */
UINT32 HalTickStart(OS_TICK_HANDLER handler); UINT32 HalTickStart(OS_TICK_HANDLER handler);
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
} }
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* _LOS_ARCH_TIMER_H */ #endif /* _LOS_ARCH_TIMER_H */

View File

@ -42,8 +42,8 @@
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
extern "C" { extern "C" {
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */
UINT8 __attribute__ ((aligned (8))) g_memStart[OS_SYS_MEM_SIZE]; UINT8 __attribute__ ((aligned (8))) g_memStart[OS_SYS_MEM_SIZE];
@ -102,5 +102,5 @@ VOID RunTaskSample(VOID)
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
} }
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */

View File

@ -40,15 +40,15 @@
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
extern "C" { extern "C" {
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */
VOID RunTaskSample(VOID); VOID RunTaskSample(VOID);
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
} }
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* _TASKSAMPLE_H */ #endif /* _TASKSAMPLE_H */

View File

@ -44,8 +44,8 @@
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
extern "C" { extern "C" {
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */
UINT8 __attribute__ ((aligned (8))) g_memStart[OS_SYS_MEM_SIZE]; UINT8 __attribute__ ((aligned (8))) g_memStart[OS_SYS_MEM_SIZE];
@ -117,5 +117,5 @@ VOID RunTaskSample(VOID)
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
} }
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */

View File

@ -40,15 +40,15 @@
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
extern "C" { extern "C" {
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */
VOID RunTaskSample(VOID); VOID RunTaskSample(VOID);
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
} }
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* __cpluscplus */ #endif /* __cplusplus */
#endif /* _TASKSAMPLE_H */ #endif /* _TASKSAMPLE_H */