From 72fa4b5d3a1e981d7f7839d631c633c482e3a47d Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 24 Nov 1999 19:29:45 +0000 Subject: Don't define "pseudo_header" in "ascend-scanner.l", as that may cause warnings about multiple declaration of "pseudo_header" as a common. Instead, define it only in "ascend-grammar.y", and declare it in "ascend-int.h" as an "extern". svn path=/trunk/; revision=1103 --- wiretap/ascend-scanner.l | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'wiretap/ascend-scanner.l') diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l index 97056380b0..2ed89de7c2 100644 --- a/wiretap/ascend-scanner.l +++ b/wiretap/ascend-scanner.l @@ -1,7 +1,7 @@ %{ /* ascend-scanner.l * - * $Id: ascend-scanner.l,v 1.8 1999/11/18 21:48:53 guy Exp $ + * $Id: ascend-scanner.l,v 1.9 1999/11/24 19:29:45 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -41,8 +41,6 @@ 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); } -struct ascend_phdr *pseudo_header; - int at_eof; int mul, scratch; %} -- cgit v1.2.3