mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Fix some new warndings found in build testing.
This commit is contained in:
@@ -468,9 +468,7 @@ int netdev_ipv6_ifconf(FAR struct lifconf *lifc);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_NETDOWN_NOTIFIER
|
|
||||||
int netdev_dev_lladdrsize(FAR struct net_driver_s *dev);
|
int netdev_dev_lladdrsize(FAR struct net_driver_s *dev);
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: netdown_notifier_setup
|
* Name: netdown_notifier_setup
|
||||||
|
|||||||
@@ -334,6 +334,27 @@ void udp_ipv6_select(FAR struct net_driver_s *dev);
|
|||||||
|
|
||||||
void udp_poll(FAR struct net_driver_s *dev, FAR struct udp_conn_s *conn);
|
void udp_poll(FAR struct net_driver_s *dev, FAR struct udp_conn_s *conn);
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Name: psock_udp_cansend
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* psock_udp_cansend() returns a value indicating if a write to the socket
|
||||||
|
* would block. It is still possible that the write may block if another
|
||||||
|
* write occurs first.
|
||||||
|
*
|
||||||
|
* Input Parameters:
|
||||||
|
* psock An instance of the internal socket structure.
|
||||||
|
*
|
||||||
|
* Returned Value:
|
||||||
|
* -ENOSYS (Function not implemented, always have to wait to send).
|
||||||
|
*
|
||||||
|
* Assumptions:
|
||||||
|
* None
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
int psock_udp_cansend(FAR struct socket *psock);
|
||||||
|
;
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: udp_send
|
* Name: udp_send
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user