aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/nettl.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/nettl.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/nettl.c')
-rw-r--r--wiretap/nettl.c10
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;