fix: fix __cplusplus typo
remove extra c in macro definition __cpluscplus close https://gitee.com/openharmony/kernel_liteos_m/issues/I3QQAF
This commit is contained in:
parent
3feb4f26f3
commit
c3eb3e59e6
|
@ -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 */
|
||||||
|
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue