net/tcp/tcp.h: Remove unused extern g_netdevices

This commit is contained in:
YAMAMOTO Takashi 2021-03-30 12:44:24 +09:00 committed by Xiang Xiao
parent d89b2b4092
commit 09869e5d41

View File

@ -324,21 +324,10 @@ struct tcp_backlog_s
****************************************************************************/
#ifdef __cplusplus
# define EXTERN extern "C"
extern "C"
{
#else
# define EXTERN extern
#endif
/* List of registered Ethernet device drivers. You must have the network
* locked in order to access this list.
*
* NOTE that this duplicates a declaration in net/netdev/netdev.h
*/
EXTERN struct net_driver_s *g_netdevices;
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
@ -1812,7 +1801,6 @@ int tcp_txdrain(FAR struct socket *psock, unsigned int timeout);
# define tcp_txdrain(conn, timeout) (0)
#endif
#undef EXTERN
#ifdef __cplusplus
}
#endif