remove __cplusplus guards in .c files
Change-Id: I052d930d54e63179b17b77f02c107a015f3cfc3f
This commit is contained in:
0
net/telnet/include/telnet_dev.h
Executable file → Normal file
0
net/telnet/include/telnet_dev.h
Executable file → Normal file
0
net/telnet/include/telnet_loop.h
Executable file → Normal file
0
net/telnet/include/telnet_loop.h
Executable file → Normal 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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user