diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-02-24 01:11:27 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-02-24 01:11:27 +0000 |
commit | cd5d9d0387c5e9c8fadde596659dd8b0b7716664 (patch) | |
tree | 1672b9b9fe02bb80be3d18cee4593ced9b824b8d /pcap-util.c | |
parent | 4c186e452b15edfda60614148e6be232efa002dc (diff) |
Squelch a compiler warning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10211 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'pcap-util.c')
-rw-r--r-- | pcap-util.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pcap-util.c b/pcap-util.c index 4e6bdfba53..c79f008d99 100644 --- a/pcap-util.c +++ b/pcap-util.c @@ -1,7 +1,7 @@ /* pcap-util.c * Utility routines for packet capture * - * $Id: pcap-util.c,v 1.23 2003/12/21 12:18:59 ulfl Exp $ + * $Id: pcap-util.c,v 1.24 2004/02/24 01:11:27 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -342,7 +342,11 @@ free_pcap_linktype_list(GList *linktype_list) /* Set the data link type on a pcap. */ const char * -set_pcap_linktype(pcap_t *pch, char *devname, int dlt) +set_pcap_linktype(pcap_t *pch, char *devname +#ifdef HAVE_PCAP_SET_DATALINK + _U_ +#endif + , int dlt) { #ifdef HAVE_PCAP_SET_DATALINK if (pcap_set_datalink(pch, dlt) == 0) |