aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2018-04-04 13:13:06 +0200
committerJoerg Mayer <jmayer@loplof.de>2018-04-04 13:13:06 +0200
commita8e4d7387d92335171d6b545ab150e8c547ba98d (patch)
tree01bf09aa74e036885a70c153cb5186b0495770dc /pcap-linux.c
parentb425bde77083958e45ca62526896f9c014ae88ab (diff)
Fix a set of trivial unused warnings
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 6b3b1fd9..e32d3e91 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -1627,7 +1627,7 @@ fail:
* error occured.
*/
static int
-pcap_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user)
+pcap_read_linux(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char *user)
{
/*
* Currently, on Linux only one packet is delivered per read,