From a5db95da3801cd82df80c41996b1e6f69a9acecf Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Thu, 26 Jul 2012 15:04:10 -0400 Subject: Fixed an unused param warning libnetutils had a single warning. Fixed it to make it clean. Change-Id: I9297e556657a38dbdd7d1d0ac4bc3574801d5ac9 Author: Edwin Vane Reviewed-by: Kevin P Schoedel --- libnetutils/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnetutils/packet.c b/libnetutils/packet.c index 3ec83fe..be4e0db 100644 --- a/libnetutils/packet.c +++ b/libnetutils/packet.c @@ -39,7 +39,7 @@ int fatal(); -int open_raw_socket(const char *ifname, uint8_t *hwaddr, int if_index) +int open_raw_socket(const char *ifname __attribute__((unused)), uint8_t *hwaddr, int if_index) { int s, flag; struct sockaddr_ll bindaddr; -- cgit v1.1