【修改】删除 C99 依赖

Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
chenyong 2018-08-27 19:39:03 +08:00
parent 63b73a2996
commit ffb66c53b7
2 changed files with 10 additions and 10 deletions

View File

@ -675,11 +675,11 @@ MSH_CMD_EXPORT_ALIAS(esp8266_ping, at_ping, AT ping network host);
#endif
static const struct at_device_ops esp8266_socket_ops = {
.connect = esp8266_socket_connect,
.close = esp8266_socket_close,
.send = esp8266_socket_send,
.domain_resolve = esp8266_domain_resolve,
.set_event_cb = esp8266_socket_set_event_cb,
esp8266_socket_connect,
esp8266_socket_close,
esp8266_socket_send,
esp8266_domain_resolve,
esp8266_socket_set_event_cb,
};
static int at_socket_device_init(void)

View File

@ -880,11 +880,11 @@ MSH_CMD_EXPORT_ALIAS(m26_ifconfig, at_ifconfig, list the information of network
#endif
static const struct at_device_ops m26_socket_ops = {
.connect = m26_socket_connect,
.close = m26_socket_close,
.send = m26_socket_send,
.domain_resolve = m26_domain_resolve,
.set_event_cb = m26_socket_set_event_cb,
m26_socket_connect,
m26_socket_close,
m26_socket_send,
m26_domain_resolve,
m26_socket_set_event_cb,
};
static int at_socket_device_init(void)