mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Networking: Fix some errors detected by Travis in configuration that have TCP on and UDP off and vice versa
This commit is contained in:
@@ -273,6 +273,7 @@ end_wait:
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_NET_TCP
|
||||
static inline void netclose_txnotify(FAR struct socket *psock,
|
||||
FAR struct tcp_conn_s *conn)
|
||||
{
|
||||
@@ -311,6 +312,7 @@ static inline void netclose_txnotify(FAR struct socket *psock,
|
||||
}
|
||||
#endif /* CONFIG_NET_IPv6 */
|
||||
}
|
||||
#endif /* CONFIG_NET_TCP */
|
||||
|
||||
/****************************************************************************
|
||||
* Function: netclose_disconnect
|
||||
|
||||
Reference in New Issue
Block a user