diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-05-19 08:18:17 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-05-19 08:18:17 +0000 |
commit | 39e5671d8f9f58bc04df1e8da7da701a1e4d5bac (patch) | |
tree | cae7f818bec5f894f09f67cc380f7fd15aa17f58 /wiretap/ascend-scanner.l | |
parent | ff50ca0ccde14905dce01615cff7cf03b1c7bc01 (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/ascend-scanner.l')
-rw-r--r-- | wiretap/ascend-scanner.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l index 2121066120..8f11adb35c 100644 --- a/wiretap/ascend-scanner.l +++ b/wiretap/ascend-scanner.l @@ -1,7 +1,7 @@ %{ /* ascend-scanner.l * - * $Id: ascend-scanner.l,v 1.14 2000/05/18 09:09:21 guy Exp $ + * $Id: ascend-scanner.l,v 1.15 2000/05/19 08:18:14 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -40,7 +40,7 @@ #include "ascend-int.h" #include "file_wrappers.h" -void *yy_fh; +FILE_T yy_fh; extern char *ascend_ra_ptr; extern char *ascend_ra_last; #define YY_INPUT(buf,result,max_size) { int c = file_getc(yy_fh); \ @@ -253,7 +253,7 @@ task:|time:|octets { return KEYWORD; } int ascendwrap() { return 1; } -void ascend_init_lexer(FILE_T *fh, FILE *nfh) +void ascend_init_lexer(FILE_T fh, FILE *nfh) { yyrestart(0); yyout = nfh; |