summaryrefslogtreecommitdiffstats
path: root/libnetutils
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-08-08 17:44:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-08 17:44:05 -0700
commit278cded6bef25406fc47a23efab128a4ee522a17 (patch)
tree890af7a3cbe51c7519a7ff239a8717a814b00843 /libnetutils
parent4900f436704a8d30007bddc5834d0eb91a9a9678 (diff)
parentd2e826b5192f3b964c893b8230cee1d8bdb84071 (diff)
downloadsystem_core-278cded6bef25406fc47a23efab128a4ee522a17.zip
system_core-278cded6bef25406fc47a23efab128a4ee522a17.tar.gz
system_core-278cded6bef25406fc47a23efab128a4ee522a17.tar.bz2
am d2e826b5: am 65c37c81: Merge "Fixed an unused param warning"
* commit 'd2e826b5192f3b964c893b8230cee1d8bdb84071': Fixed an unused param warning
Diffstat (limited to 'libnetutils')
-rw-r--r--libnetutils/packet.c2
1 files changed, 1 insertions, 1 deletions
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;