remove __cplusplus guards in .c files
Change-Id: Ie25b83a42d3ca35c3a6d624ef01f425a85957d7f
This commit is contained in:
0
utils/los_compiler.h
Executable file → Normal file
0
utils/los_compiler.h
Executable file → Normal file
10
utils/los_debug.c
Executable file → Normal file
10
utils/los_debug.c
Executable file → Normal file
@@ -33,11 +33,6 @@
|
||||
#include "stdarg.h"
|
||||
#include "los_context.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if (LOSCFG_KERNEL_PRINTF == 1)
|
||||
STATIC const CHAR *g_logString[] = {
|
||||
@@ -109,8 +104,3 @@ WEAK VOID HalConsoleOutput(LogModuleType type, INT32 level, const CHAR *fmt, ...
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
0
utils/los_debug.h
Executable file → Normal file
0
utils/los_debug.h
Executable file → Normal file
@@ -31,11 +31,6 @@
|
||||
|
||||
#include "los_error.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
LITE_OS_SEC_BSS UserErrFunc g_userErrFunc;
|
||||
|
||||
@@ -65,8 +60,3 @@ LITE_OS_SEC_TEXT_INIT UINT32 LOS_ErrHandle(CHAR *fileName,
|
||||
return LOS_OK;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,11 +32,6 @@
|
||||
#include "los_hook.h"
|
||||
#include "internal/los_hook_types_parse.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if (LOSCFG_DEBUG_HOOK == 1)
|
||||
#define LOS_HOOK_TYPE_DEF(type, paramList) \
|
||||
@@ -70,8 +65,3 @@ LOS_HOOK_ALL_TYPES_DEF;
|
||||
|
||||
#endif /* LOSCFG_DEBUG_HOOK */
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
Reference in New Issue
Block a user