Fix sixlowpan_framer.c build warnings under macos
sixlowpan/sixlowpan_framer.c:104:20: warning: unused function 'sixlowpan_saddrnull' [-Wunused-function] static inline bool sixlowpan_saddrnull(FAR const uint8_t *saddr) ^ sixlowpan/sixlowpan_framer.c:124:20: warning: unused function 'sixlowpan_eaddrnull' [-Wunused-function] static inline bool sixlowpan_eaddrnull(FAR const uint8_t *eaddr) ^ 2 warnings generated. Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
parent
2353e46ee9
commit
9ac3a0d4d8
@ -53,6 +53,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_NET_6LOWPAN
|
#ifdef CONFIG_NET_6LOWPAN
|
||||||
|
|
||||||
|
#ifdef CONFIG_WIRELESS_IEEE802154
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@ -150,7 +151,6 @@ static inline bool sixlowpan_eaddrnull(FAR const uint8_t *eaddr)
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_WIRELESS_IEEE802154
|
|
||||||
int sixlowpan_meta_data(FAR struct radio_driver_s *radio,
|
int sixlowpan_meta_data(FAR struct radio_driver_s *radio,
|
||||||
FAR const struct ieee802_txmetadata_s *pktmeta,
|
FAR const struct ieee802_txmetadata_s *pktmeta,
|
||||||
FAR struct ieee802154_frame_meta_s *meta)
|
FAR struct ieee802154_frame_meta_s *meta)
|
||||||
|
Loading…
Reference in New Issue
Block a user