From d4e353933716ad5a124eee3e25f541d4cccea28e Mon Sep 17 00:00:00 2001 From: Frederik Van Slycken Date: Thu, 15 Oct 2015 16:16:47 +0200 Subject: [PATCH] remove unused parameter warnings from compilation --- modules/pico_dev_tap.c | 2 +- modules/pico_slaacv4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pico_dev_tap.c b/modules/pico_dev_tap.c index 6998cf48b..b80ea6df7 100644 --- a/modules/pico_dev_tap.c +++ b/modules/pico_dev_tap.c @@ -41,7 +41,7 @@ static void sig_handler(int signo) link_state = 1; } -static int tap_link_state(struct pico_device *self) +static int tap_link_state(__attribute__((unused)) struct pico_device *self) { return link_state; } diff --git a/modules/pico_slaacv4.c b/modules/pico_slaacv4.c index ff9b33d1b..f9ac2161b 100644 --- a/modules/pico_slaacv4.c +++ b/modules/pico_slaacv4.c @@ -177,7 +177,7 @@ static void pico_slaacv4_receive_ipconflict(int reason) } -static void pico_slaacv4_hotplug_cb(struct pico_device *dev, int event) +static void pico_slaacv4_hotplug_cb(__attribute__((unused)) struct pico_device *dev, int event) { struct slaacv4_cookie *tmp = &slaacv4_local;