remove __cplusplus guards in .c files
Change-Id: Ie25b83a42d3ca35c3a6d624ef01f425a85957d7f
This commit is contained in:
10
kernel/src/mm/los_membox.c
Executable file → Normal file
10
kernel/src/mm/los_membox.c
Executable file → Normal 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
10
kernel/src/mm/los_memory.c
Executable file → Normal 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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user