aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/netscaler.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/netscaler.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/netscaler.c')
-rw-r--r--wiretap/netscaler.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/wiretap/netscaler.c b/wiretap/netscaler.c
index b1cc5d1263..477a871e58 100644
--- a/wiretap/netscaler.c
+++ b/wiretap/netscaler.c
@@ -577,11 +577,11 @@ static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info,
gint64 *data_offset);
static gboolean nstrace_seek_read_v10(wtap *wth, gint64 seek_off,
struct wtap_pkthdr *phdr,
- Buffer *buf, int length,
+ Buffer *buf,
int *err, gchar **err_info);
static gboolean nstrace_seek_read_v20(wtap *wth, gint64 seek_off,
struct wtap_pkthdr *phdr,
- Buffer *buf, int length,
+ Buffer *buf,
int *err, gchar **err_info);
static void nstrace_close(wtap *wth);
@@ -1142,8 +1142,7 @@ static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *
#undef PACKET_DESCRIBE
static gboolean nstrace_seek_read_v10(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)
{
nspr_hd_v10_t hdr;
int bytes_read;
@@ -1234,8 +1233,7 @@ static gboolean nstrace_seek_read_v10(wtap *wth, gint64 seek_off,
}while(0)
static gboolean nstrace_seek_read_v20(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)
{
nspr_hd_v20_t hdr;
int bytes_read;