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

0
net/telnet/include/telnet_dev.h Executable file → Normal file
View File

0
net/telnet/include/telnet_loop.h Executable file → Normal file
View File

View File

@@ -48,11 +48,6 @@
#include "telnet_pri.h"
#include "fs/vnode.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* event: there are more commands left in the FIFO to run */
#define TELNET_EVENT_MORE_CMD 0x01
@@ -412,8 +407,3 @@ INT32 TelnetDevDeinit(VOID)
}
#endif
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */

View File

@@ -53,11 +53,6 @@
#include "telnet_pri.h"
#include "telnet_dev.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/* TELNET commands in RFC854 */
#define TELNET_SB 250 /* Indicates that what follows is subnegotiation of the indicated option */
@@ -587,8 +582,3 @@ SHELLCMD_ENTRY(telnet_shellcmd, CMD_TYPE_EX, "telnet", 1, (CmdCallBackFunc)Telne
#endif /* LOSCFG_SHELL_CMD_DEBUG */
#endif
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */