summaryrefslogtreecommitdiffstats
path: root/tdeprint/ppdparser.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:34 +0900
committerMichele Calgaro <[email protected]>2020-01-30 23:52:42 +0900
commit41e0f335b5e2ab65cf47191a5b1c32adee2c24c3 (patch)
tree016b50163495e6d8607a1205b4e29179fbf56f8a /tdeprint/ppdparser.cpp
parent9c1e136983b9361291646002b2c6c1f733ee13d4 (diff)
downloadtdelibs-41e0f335b5e2ab65cf47191a5b1c32adee2c24c3.tar.gz
tdelibs-41e0f335b5e2ab65cf47191a5b1c32adee2c24c3.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit aa98dbfe80580169f3df12489a77e8b904a1d9b9)
Diffstat (limited to 'tdeprint/ppdparser.cpp')
-rw-r--r--tdeprint/ppdparser.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdeprint/ppdparser.cpp b/tdeprint/ppdparser.cpp
index 21f3fb77e..30df9195d 100644
--- a/tdeprint/ppdparser.cpp
+++ b/tdeprint/ppdparser.cpp
@@ -225,7 +225,7 @@ union yyalloc
# define YYCOPY(To, From, Count) \
do \
{ \
- register YYSIZE_T yyi; \
+ YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
@@ -704,7 +704,7 @@ yystrlen (yystr)
const char *yystr;
# endif
{
- register const char *yys = yystr;
+ const char *yys = yystr;
while (*yys++ != '\0')
continue;
@@ -729,8 +729,8 @@ yystpcpy (yydest, yysrc)
const char *yysrc;
# endif
{
- register char *yyd = yydest;
- register const char *yys = yysrc;
+ char *yyd = yydest;
+ const char *yys = yysrc;
while ((*yyd++ = *yys++) != '\0')
continue;
@@ -860,8 +860,8 @@ yyparse ()
#endif
{
- register int yystate;
- register int yyn;
+ int yystate;
+ int yyn;
int yyresult;
/* Number of tokens to shift before error messages enabled. */
int yyerrstatus;
@@ -879,12 +879,12 @@ yyparse ()
/* The state stack. */
short yyssa[YYINITDEPTH];
short *yyss = yyssa;
- register short *yyssp;
+ short *yyssp;
/* The semantic value stack. */
YYSTYPE yyvsa[YYINITDEPTH];
YYSTYPE *yyvs = yyvsa;
- register YYSTYPE *yyvsp;
+ YYSTYPE *yyvsp;