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/network_instruments.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'wiretap/network_instruments.c') diff --git a/wiretap/network_instruments.c b/wiretap/network_instruments.c index 6b7fc7ff78..2e9f340288 100644 --- a/wiretap/network_instruments.c +++ b/wiretap/network_instruments.c @@ -101,8 +101,7 @@ static void init_gmt_to_localtime_offset(void) static gboolean observer_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset); static gboolean observer_seek_read(wtap *wth, gint64 seek_off, - struct wtap_pkthdr *phdr, Buffer *buf, int length, - int *err, gchar **err_info); + struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info); static int read_packet_header(FILE_T fh, union wtap_pseudo_header *pseudo_header, packet_entry_header *packet_header, int *err, gchar **err_info); static gboolean process_packet_header(wtap *wth, @@ -312,8 +311,7 @@ static gboolean observer_read(wtap *wth, int *err, gchar **err_info, /* Reads a packet at an offset. */ static gboolean observer_seek_read(wtap *wth, gint64 seek_off, - struct wtap_pkthdr *phdr, Buffer *buf, int length _U_, - int *err, gchar **err_info) + struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { union wtap_pseudo_header *pseudo_header = &phdr->pseudo_header; packet_entry_header packet_header; -- cgit v1.2.1