summaryrefslogtreecommitdiffstats
path: root/libkcal
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:36 +0900
committerMichele Calgaro <[email protected]>2020-01-30 23:52:43 +0900
commit82d3e5d6303d901f09752be3cd3c0998cfb46f64 (patch)
tree51a23fb0ea9adfa3c2391473cef6ee425baa4b37 /libkcal
parent92e4936facb693a879f06137b5d86d633b0a5427 (diff)
downloadtdepim-82d3e5d6303d901f09752be3cd3c0998cfb46f64.tar.gz
tdepim-82d3e5d6303d901f09752be3cd3c0998cfb46f64.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 90c6a46c9c8d9d18e74302fa43b80ef77ce48f93)
Diffstat (limited to 'libkcal')
-rw-r--r--libkcal/versit/vcc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkcal/versit/vcc.c b/libkcal/versit/vcc.c
index 4351d6b08..18f20beaf 100644
--- a/libkcal/versit/vcc.c
+++ b/libkcal/versit/vcc.c
@@ -373,7 +373,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]; \
} \
@@ -839,7 +839,7 @@ yystrlen (yystr)
const char *yystr;
# endif
{
- register const char *yys = yystr;
+ const char *yys = yystr;
while (*yys++ != '\0')
continue;
@@ -864,8 +864,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;
@@ -995,8 +995,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;
@@ -1014,12 +1014,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;