From 9d41c658fe5b003d3a16646d1d05da8c68596b01 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 2 Jan 2014 20:47:21 +0000 Subject: No seek-read routines use the length argument, so eliminate it from wtap_seek_read(). svn path=/trunk/; revision=54570 --- wiretap/ngsniffer.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'wiretap/ngsniffer.c') diff --git a/wiretap/ngsniffer.c b/wiretap/ngsniffer.c index 64ba7e3232..0e33072ca7 100644 --- a/wiretap/ngsniffer.c +++ b/wiretap/ngsniffer.c @@ -514,8 +514,7 @@ static int process_rec_header2_v145(wtap *wth, unsigned char *buffer, static gboolean ngsniffer_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset); static gboolean ngsniffer_seek_read(wtap *wth, gint64 seek_off, - struct wtap_pkthdr *phdr, Buffer *buf, int packet_size, - int *err, gchar **err_info); + struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info); static int ngsniffer_process_record(wtap *wth, gboolean is_random, guint *padding, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info); @@ -1126,8 +1125,7 @@ ngsniffer_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) static gboolean ngsniffer_seek_read(wtap *wth, gint64 seek_off, - struct wtap_pkthdr *phdr, Buffer *buf, int packet_size _U_, - int *err, gchar **err_info) + struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int ret; -- cgit v1.2.1