summaryrefslogtreecommitdiffstats
path: root/libnetutils
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-08-08 16:02:46 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-08 16:02:46 -0700
commitd2e826b5192f3b964c893b8230cee1d8bdb84071 (patch)
treece8effb059ce19d16c34ed7089e73dd2b5360aa4 /libnetutils
parentf442cf27c5d1229eb32973cb499578ccd63ba727 (diff)
parent65c37c81ba64f7ec803dcec976a768d3aac9e6c3 (diff)
downloadsystem_core-d2e826b5192f3b964c893b8230cee1d8bdb84071.zip
system_core-d2e826b5192f3b964c893b8230cee1d8bdb84071.tar.gz
system_core-d2e826b5192f3b964c893b8230cee1d8bdb84071.tar.bz2
am 65c37c81: Merge "Fixed an unused param warning"
* commit '65c37c81ba64f7ec803dcec976a768d3aac9e6c3': 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;