summaryrefslogtreecommitdiff
path: root/src/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/gram.y')
-rw-r--r--src/gram.y7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gram.y b/src/gram.y
index 791e60f..7394e81 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -100,7 +100,6 @@ static int color;
int mods = 0;
unsigned int mods_used = (ShiftMask | ControlMask | Mod1Mask);
-extern int yylineno;
static void yyerror(const char *s);
%}
@@ -666,9 +665,9 @@ yyerror(const char *s)
static void
RemoveDQuote(char *str)
{
- register char *i, *o;
- register int n;
- register int count;
+ char *i, *o;
+ int n;
+ int count;
for (i = str + 1, o = str; *i && *i != '\"'; o++) {
if (*i == '\\') {