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

10
kernel/src/mm/los_membox.c Executable file → Normal file
View File

@@ -36,11 +36,6 @@
#include "los_debug.h"
#include "los_task.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* The magic length is 32 bits, the lower 8 bits are used to save the owner task ID,
and the other 24 bits are used to set the magic number for verification. */
@@ -324,8 +319,3 @@ UINT32 OsMemboxExcInfoGet(UINT32 memNumMax, MemInfoCB *memExcInfo)
}
#endif
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

10
kernel/src/mm/los_memory.c Executable file → Normal file
View File

@@ -38,11 +38,6 @@
#include "los_interrupt.h"
#include "los_task.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* Used to cut non-essential functions. */
#define OS_MEM_EXPAND_ENABLE 0
@@ -2109,9 +2104,4 @@ UINT32 OsMemExcInfoGet(UINT32 memNumMax, MemInfoCB *memExcInfo)
}
#endif
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */