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/nettl.c | |
parent | 17ccdafa03331d860c55f6ecd4093ca520d0737b (diff) | |
download | wireshark-0cc75a35697b455b29f0111c0d100639bed35ea8.tar.gz wireshark-0cc75a35697b455b29f0111c0d100639bed35ea8.tar.bz2 wireshark-0cc75a35697b455b29f0111c0d100639bed35ea8.zip |
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/nettl.c')
-rw-r--r-- | wiretap/nettl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wiretap/nettl.c b/wiretap/nettl.c index c89bfb433e..401fa53b77 100644 --- a/wiretap/nettl.c +++ b/wiretap/nettl.c @@ -1,6 +1,6 @@ /* nettl.c * - * $Id: nettl.c,v 1.11 2000/05/18 09:09:38 guy Exp $ + * $Id: nettl.c,v 1.12 2000/05/19 08:18:15 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -67,10 +67,10 @@ struct nettlrec_ns_ls_ip_hdr { static int nettl_read(wtap *wth, int *err); static int nettl_seek_read(wtap *wth, int seek_off, union pseudo_header *pseudo_header, u_char *pd, int length); -static int nettl_read_rec_header(wtap *wth, FILE_T *fh, +static int nettl_read_rec_header(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr, union pseudo_header *pseudo_header, int *err); -static int nettl_read_rec_data(FILE_T *fh, char *pd, int length, int *err); +static int nettl_read_rec_data(FILE_T fh, char *pd, int length, int *err); static void nettl_close(wtap *wth); int nettl_open(wtap *wth, int *err) @@ -174,7 +174,7 @@ nettl_seek_read(wtap *wth, int seek_off, } static int -nettl_read_rec_header(wtap *wth, FILE_T *fh, struct wtap_pkthdr *phdr, +nettl_read_rec_header(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr, union pseudo_header *pseudo_header, int *err) { int bytes_read; @@ -289,7 +289,7 @@ nettl_read_rec_header(wtap *wth, FILE_T *fh, struct wtap_pkthdr *phdr, } static int -nettl_read_rec_data(FILE_T *fh, char *pd, int length, int *err) +nettl_read_rec_data(FILE_T fh, char *pd, int length, int *err) { int bytes_read; |