summaryrefslogtreecommitdiff
path: root/wiretap/i4btrace.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/i4btrace.c
parent5acabc99b0755be8d199d20f5aff96c3e3873845 (diff)
downloadwireshark-9d41c658fe5b003d3a16646d1d05da8c68596b01.tar.gz
No seek-read routines use the length argument, so eliminate it from
wtap_seek_read(). svn path=/trunk/; revision=54570
Diffstat (limited to 'wiretap/i4btrace.c')
-rw-r--r--wiretap/i4btrace.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/wiretap/i4btrace.c b/wiretap/i4btrace.c
index d6d1074ffe..9de2a858eb 100644
--- a/wiretap/i4btrace.c
+++ b/wiretap/i4btrace.c
@@ -38,8 +38,7 @@ typedef struct {
static gboolean i4btrace_read(wtap *wth, int *err, gchar **err_info,
gint64 *data_offset);
static gboolean i4btrace_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 i4b_read_rec(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,
Buffer *buf, int *err, gchar **err_info);
@@ -124,7 +123,7 @@ static gboolean i4btrace_read(wtap *wth, int *err, gchar **err_info,
static gboolean
i4btrace_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr,
- Buffer *buf, int length _U_, int *err, gchar **err_info)
+ Buffer *buf, int *err, gchar **err_info)
{
if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1)
return FALSE;