diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-03-02 20:41:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-03-02 20:41:08 +0000 |
commit | 761ae95b199c474ebe526077a2dbd36044e2701d (patch) | |
tree | ea4ea5a557ffcefb58d5ce2f2ee22098994aeff3 /wiretap/libpcap.c | |
parent | 95ee7f0ac1fa3c000a6bea4738eb15c88a4497d8 (diff) |
From Joerg Mayer: get rid of "-Wno-unused" flag in some configure
scripts, and check in changes to add _U_ to some unused arguments (some
other should perhaps be used, so we leave the _U_ out so that the
warnings serve as a reminder to check those).
svn path=/trunk/; revision=4847
Diffstat (limited to 'wiretap/libpcap.c')
-rw-r--r-- | wiretap/libpcap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index cdb07aaf36..06b2a047b6 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -1,6 +1,6 @@ /* libpcap.c * - * $Id: libpcap.c,v 1.66 2002/02/27 08:57:25 guy Exp $ + * $Id: libpcap.c,v 1.67 2002/03/02 20:41:07 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -1060,8 +1060,10 @@ gboolean libpcap_dump_open(wtap_dumper *wdh, int *err) /* Write a record for a packet to a dump file. Returns TRUE on success, FALSE on failure. */ -static gboolean libpcap_dump(wtap_dumper *wdh, const struct wtap_pkthdr *phdr, - const union wtap_pseudo_header *pseudo_header, const u_char *pd, int *err) +static gboolean libpcap_dump(wtap_dumper *wdh, + const struct wtap_pkthdr *phdr, + const union wtap_pseudo_header *pseudo_header _U_, + const u_char *pd, int *err) { struct pcaprec_ss990915_hdr rec_hdr; size_t hdr_size; |