remove __cplusplus guards in .c files

Change-Id: Ie25b83a42d3ca35c3a6d624ef01f425a85957d7f
This commit is contained in:
Caoruihong
2021-04-19 18:19:28 +08:00
parent f278a00483
commit 3cea0e42b1
631 changed files with 0 additions and 5947 deletions

0
kernel/arch/arm/cortex-m3/keil/cmsis/README.OpenSource Executable file → Normal file
View File

0
kernel/arch/arm/cortex-m3/keil/los_arch_interrupt.h Executable file → Normal file
View File

10
kernel/arch/arm/cortex-m3/keil/los_context.c Executable file → Normal file
View File

@@ -36,11 +36,6 @@
#include "los_arch_interrupt.h"
#include "los_arch_timer.h"
#include "ARMCM3.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* ****************************************************************************
Function : HalArchInit
@@ -160,10 +155,5 @@ LITE_OS_SEC_TEXT_INIT UINT32 HalStartSchedule(OS_TICK_HANDLER handler)
return LOS_OK; /* never return */
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

10
kernel/arch/arm/cortex-m3/keil/los_interrupt.c Executable file → Normal file
View File

@@ -40,11 +40,6 @@
#include "los_memory.h"
#include "los_membox.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/*lint -save -e40 -e522 -e533*/
UINT32 g_intCount = 0;
@@ -534,8 +529,3 @@ LITE_OS_SEC_TEXT_INIT VOID HalHwiInit()
return;
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

View File

@@ -34,11 +34,6 @@
#include "ARMCM3.h"
#include "los_timer.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
@@ -223,8 +218,3 @@ VOID HalEnterSleep(LOS_SysSleepEnum sleep)
__ISB();
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */

0
kernel/arch/arm/cortex-m33/gcc/los_arch_interrupt.h Executable file → Normal file
View File

View File

@@ -36,11 +36,6 @@
#include "los_arch_interrupt.h"
#include "los_arch_timer.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* ****************************************************************************
Function : HalArchInit
@@ -165,10 +160,5 @@ LITE_OS_SEC_TEXT_INIT UINT32 HalStartSchedule(OS_TICK_HANDLER handler)
return LOS_OK; /* never return */
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

10
kernel/arch/arm/cortex-m33/gcc/los_interrupt.c Executable file → Normal file
View File

@@ -39,11 +39,6 @@
#include "los_memory.h"
#include "los_membox.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/*lint -save -e40 -e522 -e533*/
UINT32 g_intCount = 0;
@@ -523,8 +518,3 @@ LITE_OS_SEC_TEXT_INIT VOID HalHwiInit()
return;
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

View File

@@ -33,11 +33,6 @@
#include "los_arch_interrupt.h"
#include "los_timer.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
@@ -213,8 +208,3 @@ VOID HalEnterSleep(LOS_SysSleepEnum sleep)
__ISB();
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */

View File

@@ -37,11 +37,6 @@
#include "los_arch_interrupt.h"
#include "los_arch_timer.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* ****************************************************************************
Function : HalArchInit
@@ -162,8 +157,3 @@ LITE_OS_SEC_TEXT_INIT UINT32 HalStartSchedule(OS_TICK_HANDLER handler)
return LOS_OK; /* never return */
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

View File

@@ -39,11 +39,6 @@
#include "los_memory.h"
#include "los_membox.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/*lint -save -e40 -e522 -e533*/
UINT32 g_intCount = 0;
@@ -533,8 +528,3 @@ LITE_OS_SEC_TEXT_INIT VOID HalHwiInit()
return;
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

View File

@@ -32,11 +32,6 @@
#include "los_config.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
#define SIZE_4G_BYTE 0x100000000
#define MPU_MAX_REGION_NUM 8
@@ -239,8 +234,3 @@ INT32 HalMpuUnusedRegionGet(VOID)
}
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */

View File

@@ -35,11 +35,6 @@
#include "los_arch_interrupt.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
/* ****************************************************************************
Function : HalTickStart
@@ -222,8 +217,3 @@ VOID HalEnterSleep(LOS_SysSleepEnum sleep)
__ISB();
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */

0
kernel/arch/arm/cortex-m4/iar/los_arch_interrupt.h Executable file → Normal file
View File

10
kernel/arch/arm/cortex-m4/iar/los_context.c Executable file → Normal file
View File

@@ -37,11 +37,6 @@
#include "los_arch_interrupt.h"
#include "los_arch_timer.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* ****************************************************************************
Function : HalArchInit
@@ -162,8 +157,3 @@ LITE_OS_SEC_TEXT_INIT UINT32 HalStartSchedule(OS_TICK_HANDLER handler)
return LOS_OK; /* never return */
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

0
kernel/arch/arm/cortex-m4/iar/los_dispatch.S Executable file → Normal file
View File

10
kernel/arch/arm/cortex-m4/iar/los_interrupt.c Executable file → Normal file
View File

@@ -40,11 +40,6 @@
#include "los_memory.h"
#include "los_membox.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/*lint -save -e40 -e522 -e533*/
UINT32 g_intCount = 0;
@@ -534,8 +529,3 @@ LITE_OS_SEC_TEXT_INIT VOID HalHwiInit()
return;
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

10
kernel/arch/arm/cortex-m4/iar/los_mpu.c Executable file → Normal file
View File

@@ -32,11 +32,6 @@
#include "los_config.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
#define SIZE_4G_BYTE 0x100000000
#define MPU_MAX_REGION_NUM 8
@@ -239,8 +234,3 @@ INT32 HalMpuUnusedRegionGet(VOID)
}
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */

View File

@@ -35,11 +35,6 @@
#include "los_arch_interrupt.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
/* ****************************************************************************
Function : HalTickStart
@@ -222,8 +217,3 @@ VOID HalEnterSleep(LOS_SysSleepEnum sleep)
__ISB();
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */

0
kernel/arch/arm/cortex-m7/gcc/los_arch_interrupt.h Executable file → Normal file
View File

View File

@@ -36,11 +36,6 @@
#include "los_arch_interrupt.h"
#include "los_arch_timer.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* ****************************************************************************
Function : HalArchInit
@@ -160,10 +155,5 @@ LITE_OS_SEC_TEXT_INIT UINT32 HalStartSchedule(OS_TICK_HANDLER handler)
return LOS_OK; /* never return */
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

10
kernel/arch/arm/cortex-m7/gcc/los_interrupt.c Executable file → Normal file
View File

@@ -39,11 +39,6 @@
#include "los_memory.h"
#include "los_membox.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/*lint -save -e40 -e522 -e533*/
UINT32 g_intCount = 0;
@@ -523,8 +518,3 @@ LITE_OS_SEC_TEXT_INIT VOID HalHwiInit()
return;
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

View File

@@ -33,11 +33,6 @@
#include "los_arch_interrupt.h"
#include "los_timer.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
@@ -222,8 +217,3 @@ VOID HalEnterSleep(LOS_SysSleepEnum sleep)
__ISB();
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */

0
kernel/arch/arm/cortex-m7/iar/los_arch_interrupt.h Executable file → Normal file
View File

View File

@@ -36,11 +36,6 @@
#include "los_arch_interrupt.h"
#include "los_arch_timer.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* ****************************************************************************
Function : HalArchInit
@@ -160,10 +155,5 @@ LITE_OS_SEC_TEXT_INIT UINT32 HalStartSchedule(OS_TICK_HANDLER handler)
return LOS_OK; /* never return */
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

0
kernel/arch/arm/cortex-m7/iar/los_dispatch.S Executable file → Normal file
View File

10
kernel/arch/arm/cortex-m7/iar/los_interrupt.c Executable file → Normal file
View File

@@ -40,11 +40,6 @@
#include "los_memory.h"
#include "los_membox.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/*lint -save -e40 -e522 -e533*/
UINT32 g_intCount = 0;
@@ -530,8 +525,3 @@ LITE_OS_SEC_TEXT_INIT VOID HalHwiInit()
return;
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

10
kernel/arch/arm/cortex-m7/iar/los_mpu.c Executable file → Normal file
View File

@@ -31,11 +31,6 @@
#include "los_mpu.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
#define SIZE_4G_BYTE 0x100000000
#define MPU_MAX_REGION_NUM 8
@@ -238,8 +233,3 @@ INT32 HalMpuUnusedRegionGet(VOID)
}
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */

View File

@@ -33,11 +33,6 @@
#include "los_arch_interrupt.h"
#include "los_timer.h"
#include "los_context.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cpluscplus */
#endif /* __cpluscplus */
@@ -222,8 +217,3 @@ VOID HalEnterSleep(LOS_SysSleepEnum sleep)
__ISB();
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cpluscplus */
#endif /* __cpluscplus */