diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-05-19 08:18:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-05-19 08:18:17 +0000 |
commit | 0cc75a35697b455b29f0111c0d100639bed35ea8 (patch) | |
tree | cae7f818bec5f894f09f67cc380f7fd15aa17f58 /wiretap/i4btrace.c | |
parent | 17ccdafa03331d860c55f6ecd4093ca520d0737b (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.
svn path=/trunk/; revision=1984
Diffstat (limited to 'wiretap/i4btrace.c')
-rw-r--r-- | wiretap/i4btrace.c | 10 |
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; |