aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wiretap/ascend-int.h2
-rw-r--r--wiretap/ascend.y1
-rw-r--r--wiretap/ascend_scanner.l7
3 files changed, 1 insertions, 9 deletions
diff --git a/wiretap/ascend-int.h b/wiretap/ascend-int.h
index c88b665edd..049bf8599d 100644
--- a/wiretap/ascend-int.h
+++ b/wiretap/ascend-int.h
@@ -27,8 +27,6 @@
#include <glib.h>
#include "ws_symbol_export.h"
-extern int at_eof;
-
extern const gchar *ascend_parse_error;
/*
diff --git a/wiretap/ascend.y b/wiretap/ascend.y
index b59b811436..dc30a9e78f 100644
--- a/wiretap/ascend.y
+++ b/wiretap/ascend.y
@@ -434,7 +434,6 @@ datagroup: dataln
void
init_parse_ascend(void)
{
- at_eof = 0;
start_time = 0; /* we haven't see a date/time yet */
}
diff --git a/wiretap/ascend_scanner.l b/wiretap/ascend_scanner.l
index b7df4cb76a..950df9fd3d 100644
--- a/wiretap/ascend_scanner.l
+++ b/wiretap/ascend_scanner.l
@@ -48,14 +48,9 @@
#include "ascend_scanner_lex.h"
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); \
result = (c==EOF) ? YY_NULL : (buf[0] = c, 1); }
-int at_eof;
-int mul, scratch;
-
#define NO_USER "<none>"
#ifndef HAVE_UNISTD_H
@@ -332,7 +327,7 @@ WDD_TYPE "type "[^\n\r\t ]+
task:|task|at|time:|octets { return KEYWORD; }
-<<EOF>> { at_eof++; yyterminate(); }
+<<EOF>> { yyterminate(); }
(.|\n) ;