Networking: Fix some errors detected by Travis in configuration that have TCP on and UDP off and vice versa

This commit is contained in:
Gregory Nutt
2015-01-17 17:00:19 -06:00
parent d7a71f0119
commit cfbe12adb2
3 changed files with 10 additions and 5 deletions
+2
View File
@@ -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