aboutsummaryrefslogtreecommitdiffstats
path: root/caputils
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-09-02 10:19:44 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-09-06 04:57:07 +0000
commitb6dd50f848355ccfa272c1629a3578052d9355f7 (patch)
tree0676d9192893abac455d2112ebd12aef12542e2a /caputils
parent9b39db04d3cda98b916b3970270b3a247143adfe (diff)
caputils: add conditional unused (_U_).
Change-Id: I50ccedd876bf78961397b55e5a707c98900f7b9f Reviewed-on: https://code.wireshark.org/review/17457 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'caputils')
-rw-r--r--caputils/capture-pcap-util-unix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/caputils/capture-pcap-util-unix.c b/caputils/capture-pcap-util-unix.c
index 416349f87e..29be6d2b83 100644
--- a/caputils/capture-pcap-util-unix.c
+++ b/caputils/capture-pcap-util-unix.c
@@ -433,7 +433,11 @@ get_if_capabilities_local(interface_options *interface_opts, char **err_str)
}
pcap_t *
-open_capture_device_local(capture_options *capture_opts,
+open_capture_device_local(capture_options *capture_opts
+#ifndef HAVE_PCAP_CREATE
+ _U_
+#endif
+ ,
interface_options *interface_opts, int timeout,
char (*open_err_str)[PCAP_ERRBUF_SIZE])
{