diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-02 20:47:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-02 20:47:21 +0000 |
commit | 9d41c658fe5b003d3a16646d1d05da8c68596b01 (patch) | |
tree | 9cfbf155885a14d5e1d7b1aeff3b277b3fafedc0 /wiretap/cosine.c | |
parent | 5acabc99b0755be8d199d20f5aff96c3e3873845 (diff) | |
download | wireshark-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/cosine.c')
-rw-r--r-- | wiretap/cosine.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wiretap/cosine.c b/wiretap/cosine.c index 9a5976a9bc..a13a71e002 100644 --- a/wiretap/cosine.c +++ b/wiretap/cosine.c @@ -171,8 +171,7 @@ static gboolean cosine_check_file_type(wtap *wth, int *err, gchar **err_info); static gboolean cosine_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset); static gboolean cosine_seek_read(wtap *wth, gint64 seek_off, - struct wtap_pkthdr *phdr, Buffer *buf, - int len, int *err, gchar **err_info); + struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info); static int parse_cosine_rec_hdr(struct wtap_pkthdr *phdr, const char *line, int *err, gchar **err_info); static gboolean parse_cosine_hex_dump(FILE_T fh, struct wtap_pkthdr *phdr, @@ -315,7 +314,7 @@ static gboolean cosine_read(wtap *wth, int *err, gchar **err_info, /* Used to read packets in random-access fashion */ static gboolean cosine_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, - Buffer *buf, int len _U_, int *err, gchar **err_info) + Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[COSINE_LINE_LENGTH]; |