aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend-scanner.l
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-05-19 08:18:17 +0000
committerGuy Harris <guy@alum.mit.edu>2000-05-19 08:18:17 +0000
commit0cc75a35697b455b29f0111c0d100639bed35ea8 (patch)
treecae7f818bec5f894f09f67cc380f7fd15aa17f58 /wiretap/ascend-scanner.l
parent17ccdafa03331d860c55f6ecd4093ca520d0737b (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/ascend-scanner.l')
-rw-r--r--wiretap/ascend-scanner.l6
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;