remove __cplusplus guards in .c files

Change-Id: I052d930d54e63179b17b77f02c107a015f3cfc3f
This commit is contained in:
Caoruihong
2021-04-19 18:09:37 +08:00
parent 2da9dfe67f
commit 7e73c929a2
374 changed files with 0 additions and 1065 deletions

10
kernel/extended/cppsupport/los_cppsupport.c Executable file → Normal file
View File

@@ -32,11 +32,6 @@
#include "los_cppsupport.h"
#include "los_printf.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
typedef VOID (*InitFunc)(VOID);
@@ -53,8 +48,3 @@ LITE_OS_SEC_TEXT_MINOR INT32 LOS_CppSystemInit(UINTPTR initArrayStart, UINTPTR i
return 0;
}
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

10
kernel/extended/cpup/cpup_shellcmd.c Executable file → Normal file
View File

@@ -37,11 +37,6 @@
#include "shcmd.h"
#include "shell.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
VOID OsCmdCpupOperateOneParam(UINT32 mode)
{
@@ -141,9 +136,4 @@ LITE_OS_SEC_TEXT_MINOR UINT32 OsShellCmdCpup(INT32 argc, const CHAR **argv)
}
SHELLCMD_ENTRY(cpup_shellcmd, CMD_TYPE_EX, "cpup", XARGS, (CmdCallBackFunc)OsShellCmdCpup);
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */
#endif /* LOSCFG_SHELL */

10
kernel/extended/cpup/los_cpup.c Executable file → Normal file
View File

@@ -34,11 +34,6 @@
#include "los_base.h"
#include "los_swtmr.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
#ifdef LOSCFG_KERNEL_CPUP
@@ -576,8 +571,3 @@ LITE_OS_SEC_TEXT_MINOR UINT32 LOS_GetAllIrqCpuUsage(UINT16 mode, CPUP_INFO_S *cp
#endif
#endif /* LOSCFG_KERNEL_CPUP */
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

0
kernel/extended/dynload/include/los_elf_auxvec_pri.h Executable file → Normal file
View File

0
kernel/extended/dynload/include/los_exec_elf.h Executable file → Normal file
View File

0
kernel/extended/dynload/include/los_ld_elf_pri.h Executable file → Normal file
View File

0
kernel/extended/dynload/include/los_load_elf.h Executable file → Normal file
View File

0
kernel/extended/dynload/src/los_exec_elf.c Executable file → Normal file
View File

0
kernel/extended/dynload/src/los_load_elf.c Executable file → Normal file
View File

0
kernel/extended/include/los_cpup_pri.h Executable file → Normal file
View File

0
kernel/extended/include/los_trace_pri.h Executable file → Normal file
View File

0
kernel/extended/liteipc/Makefile Executable file → Normal file
View File

0
kernel/extended/liteipc/hm_liteipc.h Executable file → Normal file
View File

0
kernel/extended/trace/Makefile Executable file → Normal file
View File

View File

@@ -42,11 +42,6 @@
#include "stdlib.h"
#endif
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
#ifndef LOSCFG_KERNEL_TRACE
VOID LOS_TraceInit(VOID)
@@ -514,8 +509,3 @@ SHELLCMD_ENTRY(trace_shellcmd, CMD_TYPE_EX, "trace", 1, (CmdCallBackFunc)OsShell
#endif
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

10
kernel/extended/trace/los_trace_frame.c Executable file → Normal file
View File

@@ -30,11 +30,6 @@
*/
#include "los_trace_frame.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
#ifdef LOSCFG_KERNEL_TRACE
@@ -125,8 +120,3 @@ INT32 OsMemInfoTrace(UINT8 *inputBuffer, UINT32 bufLen, va_list ap)
}
#endif
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

0
kernel/extended/trace/los_trace_frame.h Executable file → Normal file
View File

0
kernel/extended/vdso/include/los_vdso.h Executable file → Normal file
View File

0
kernel/extended/vdso/include/los_vdso_datapage.h Executable file → Normal file
View File

0
kernel/extended/vdso/include/los_vdso_pri.h Executable file → Normal file
View File

0
kernel/extended/vdso/src/los_vdso.c Executable file → Normal file
View File

0
kernel/extended/vdso/usr/Makefile Executable file → Normal file
View File

0
kernel/extended/vdso/usr/los_vdso.ld Executable file → Normal file
View File

0
kernel/extended/vdso/usr/los_vdso_sys.c Executable file → Normal file
View File