aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/i4btrace.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-05-19 08:18:17 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-05-19 08:18:17 +0000
commit39e5671d8f9f58bc04df1e8da7da701a1e4d5bac (patch)
treecae7f818bec5f894f09f67cc380f7fd15aa17f58 /wiretap/i4btrace.c
parentff50ca0ccde14905dce01615cff7cf03b1c7bc01 (diff)
In Wiretap, a file stream handle is a "FILE_T", not a "FILE_T *" (a
"FILE_T" is either a "gzFile" or a "FILE *", depending on whether zlib support is enabled or not). Fix various function declarations and definitions. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1984 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/i4btrace.c')
-rw-r--r--wiretap/i4btrace.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/wiretap/i4btrace.c b/wiretap/i4btrace.c
index 04b52c4ff1..4cee96cfbe 100644
--- a/wiretap/i4btrace.c
+++ b/wiretap/i4btrace.c
@@ -1,6 +1,6 @@
/* i4btrace.c
*
- * $Id: i4btrace.c,v 1.5 2000/05/18 09:09:27 guy Exp $
+ * $Id: i4btrace.c,v 1.6 2000/05/19 08:18:15 guy Exp $
*
* Wiretap Library
* Copyright (c) 1999 by Bert Driehuis <driehuis@playbeing.org>
@@ -35,9 +35,9 @@
static int i4btrace_read(wtap *wth, int *err);
static int i4btrace_seek_read(wtap *wth, int seek_off,
union pseudo_header *pseudo_header, u_char *pd, int length);
-static int i4b_read_rec_header(FILE_T *fh, i4b_trace_hdr_t *hdr, int *err);
+static int i4b_read_rec_header(FILE_T fh, i4b_trace_hdr_t *hdr, int *err);
static void i4b_byte_swap_header(wtap *wth, i4b_trace_hdr_t *hdr);
-static int i4b_read_rec_data(FILE_T *fh, char *pd, int length, int *err);
+static int i4b_read_rec_data(FILE_T fh, char *pd, int length, int *err);
/*
* Test some fields in the header to see if they make sense.
@@ -224,7 +224,7 @@ i4btrace_seek_read(wtap *wth, int seek_off,
}
static int
-i4b_read_rec_header(FILE_T *fh, i4b_trace_hdr_t *hdr, int *err)
+i4b_read_rec_header(FILE_T fh, i4b_trace_hdr_t *hdr, int *err)
{
int bytes_read;
@@ -262,7 +262,7 @@ i4b_byte_swap_header(wtap *wth, i4b_trace_hdr_t *hdr)
}
static int
-i4b_read_rec_data(FILE_T *fh, char *pd, int length, int *err)
+i4b_read_rec_data(FILE_T fh, char *pd, int length, int *err)
{
int bytes_read;