summaryrefslogtreecommitdiff
path: root/pic/picl.l
diff options
context:
space:
mode:
Diffstat (limited to 'pic/picl.l')
-rw-r--r--pic/picl.l20
1 files changed, 3 insertions, 17 deletions
diff --git a/pic/picl.l b/pic/picl.l
index f1c2d80e3ac2..bffecb429081 100644
--- a/pic/picl.l
+++ b/pic/picl.l
@@ -43,15 +43,8 @@
#define witchcraft yybgin-yysvec-1
#endif /* !FLEX_SCANNER */
-extern char *filename;
extern struct symtab symtab[];
-void pbstr(char *);
-void dodef(struct symtab *stp);
-void undefine(char *s);
-void shell_init(void), shell_exec(void), shell_text(char *);
-void endfor(void);
-
int yyback(int *, int);
int yylook(void);
int yywrap(void);
@@ -59,9 +52,9 @@ int yywrap(void);
#define CADD cbuf[clen++]=yytext[0]; \
if (clen>=CBUFLEN-1) { WARNING("string too long", cbuf); BEGIN A; }
#define CBUFLEN 500
-char cbuf[CBUFLEN];
-int c, clen, cflag, delim;
-int ifsw = 0; /* 1 if if statement in progress */
+static char cbuf[CBUFLEN];
+static int c, clen, delim;
+static int ifsw = 0; /* 1 if if statement in progress */
%}
A [a-zA-Z_]
@@ -304,10 +297,3 @@ FWS ([ \t]|\\\n)
<A>. return(yylval.i = yytext[0]);
%%
-
-#ifdef FLEX_SCANNER
-void xxcruft(void)
-{
- unput(0);
-}
-#endif /* FLEX_SCANNER */