summaryrefslogtreecommitdiffstats
path: root/tdeprint/fooparser.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:14:04 +0900
commitaa98dbfe80580169f3df12489a77e8b904a1d9b9 (patch)
tree483608a6346be3fa4d8f95d35a05952c81221b91 /tdeprint/fooparser.cpp
parentf29aa92d38e9e1f353ed48f7952150437db8c890 (diff)
downloadtdelibs-aa98dbfe80580169f3df12489a77e8b904a1d9b9.tar.gz
tdelibs-aa98dbfe80580169f3df12489a77e8b904a1d9b9.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/fooparser.cpp')
-rw-r--r--tdeprint/fooparser.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeprint/fooparser.cpp b/tdeprint/fooparser.cpp
index 2a6b38663..2f1a59e0f 100644
--- a/tdeprint/fooparser.cpp
+++ b/tdeprint/fooparser.cpp
@@ -369,9 +369,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++;
@@ -384,9 +384,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++;
@@ -429,10 +429,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 */