diff --git a/kernel/common/los_rootfs.c b/kernel/common/los_rootfs.c index ba464cd17d513023c6a143567f31f0ed3662b9a0..7c2797356218e733413a279f65ed6022796559aa 100644 --- a/kernel/common/los_rootfs.c +++ b/kernel/common/los_rootfs.c @@ -57,18 +57,18 @@ #define STORAGE_SIZE 0xa00000 #endif -#ifdef __cplusplus -#if __cplusplus -extern "C" { -#endif /* __cplusplus */ -#endif /* __cplusplus */ - #ifdef LOSCFG_STORAGE_EMMC #include "ff.h" #define STORAGE_SIZE 0x3200000 STATIC los_disk *g_emmcDisk = NULL; #endif +#ifdef __cplusplus +#if __cplusplus +extern "C" { +#endif /* __cplusplus */ +#endif /* __cplusplus */ + #ifndef LOSCFG_SECURITY_BOOT STATIC INT32 g_alignSize = 0; #endif