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>
This commit is contained in:
Dario Lombardo 2016-09-02 10:19:44 +02:00 committed by Alexis La Goutte
parent 9b39db04d3
commit b6dd50f848
1 changed files with 5 additions and 1 deletions

View File

@ -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])
{