aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/netscreen.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-02 20:47:21 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-02 20:47:21 +0000
commit9d41c658fe5b003d3a16646d1d05da8c68596b01 (patch)
tree9cfbf155885a14d5e1d7b1aeff3b277b3fafedc0 /wiretap/netscreen.c
parent5acabc99b0755be8d199d20f5aff96c3e3873845 (diff)
No seek-read routines use the length argument, so eliminate it from
wtap_seek_read(). svn path=/trunk/; revision=54570
Diffstat (limited to 'wiretap/netscreen.c')
-rw-r--r--wiretap/netscreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/netscreen.c b/wiretap/netscreen.c
index 80ef74cc19..8b911b446c 100644
--- a/wiretap/netscreen.c
+++ b/wiretap/netscreen.c
@@ -73,7 +73,7 @@ static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info,
gint64 *data_offset);
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off,
struct wtap_pkthdr *phdr, Buffer *buf,
- int len, int *err, gchar **err_info);
+ int *err, gchar **err_info);
static int parse_netscreen_rec_hdr(struct wtap_pkthdr *phdr, const char *line,
char *cap_int, gboolean *cap_dir, char *cap_dst,
int *err, gchar **err_info);
@@ -241,7 +241,7 @@ static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info,
/* Used to read packets in random-access fashion */
static gboolean
netscreen_seek_read(wtap *wth, gint64 seek_off,
- struct wtap_pkthdr *phdr, Buffer *buf, int len _U_,
+ struct wtap_pkthdr *phdr, Buffer *buf,
int *err, gchar **err_info)
{
int pkt_len;