summaryrefslogtreecommitdiff
path: root/hwpfilter/source/grammar.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-06-20 17:32:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-06-20 17:32:51 +0200
commite7b87d69be29dfe9d7c879935a26171beba29cb5 (patch)
treec9123e117f3b6d621f34f59979b0597144012c2c /hwpfilter/source/grammar.cxx
parent4839695eb8e5652efe2147eb47514e99433f10b0 (diff)
-Werror,-Wdeprecated-register
Change-Id: I8edac5a93f9471c6f245bd484e845985c11027dd
Diffstat (limited to 'hwpfilter/source/grammar.cxx')
-rw-r--r--hwpfilter/source/grammar.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx
index af263883b025..ba7c712483e3 100644
--- a/hwpfilter/source/grammar.cxx
+++ b/hwpfilter/source/grammar.cxx
@@ -486,9 +486,9 @@ __yy_memcpy (to, from, count)
char *from;
unsigned int count;
{
- register char *f = from;
- register char *t = to;
- register int i = count;
+ char *f = from;
+ char *t = to;
+ int i = count;
while (i-- > 0)
*t++ = *f++;
@@ -501,9 +501,9 @@ __yy_memcpy (to, from, count)
static void
__yy_memcpy (char *to, char *from, unsigned int count)
{
- register char *t = to;
- register char *f = from;
- register int i = count;
+ char *t = to;
+ char *f = from;
+ int i = count;
while (i-- > 0)
*t++ = *f++;
@@ -544,10 +544,10 @@ int
yyparse(YYPARSE_PARAM_ARG)
YYPARSE_PARAM_DECL
{
- register int yystate;
- register int yyn;
- register short *yyssp;
- register YYSTYPE *yyvsp;
+ int yystate;
+ int yyn;
+ short *yyssp;
+ YYSTYPE *yyvsp;
int yyerrstatus; /* number of tokens to shift before error messages enabled */
int yychar1 = 0; /* lookahead token as an internal (translated) token number */