|
From: | Axel Lin |
Subject: | [lwip-devel] [patch #9512] lowpan6: Fix build warning when LWIP_6LOWPAN_IPHC=0 |
Date: | Fri, 8 Dec 2017 20:49:43 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 |
URL: <http://savannah.nongnu.org/patch/?9512> Summary: lowpan6: Fix build warning when LWIP_6LOWPAN_IPHC=0 Project: lwIP - A Lightweight TCP/IP stack Submitted by: axellin Submitted on: Sat 09 Dec 2017 01:49:42 AM UTC Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: Fix below build warning if LWIP_6LOWPAN_IPHC=0. ../../../../lwip/src/netif/lowpan6.c:186:1: error: ‘lowpan6_get_address_mode_mc’ defined but not used [-Werror=unused-function] lowpan6_get_address_mode_mc(const ip6_addr_t *ip6addr) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../lwip/src/netif/lowpan6.c:160:1: error: ‘lowpan6_get_address_mode’ defined but not used [-Werror=unused-function] lowpan6_get_address_mode(const ip6_addr_t *ip6addr, const struct ieee_802154_addr *mac_addr) ^~~~~~~~~~~~~~~~~~~~~~~~ Also correct comment typo: s/LWIP_6LOWPAN_HC/LWIP_6LOWPAN_IPHC/g _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sat 09 Dec 2017 01:49:42 AM UTC Name: 0001-lowpan6-Fix-build-warning-when-LWIP_6LOWPAN_IPHC-0.patch Size: 3KiB By: axellin <http://savannah.nongnu.org/patch/download.php?file_id=42608> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?9512> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |