summaryrefslogtreecommitdiffstats
path: root/libkcal
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:36 +0900
commit90c6a46c9c8d9d18e74302fa43b80ef77ce48f93 (patch)
tree7ad483a05ee27cd86b26d2461951f20ef21d5f77 /libkcal
parentdcbadd8017836649a71783b3a2d8162b8d227d4a (diff)
downloadtdepim-90c6a46c9c8d9d18e74302fa43b80ef77ce48f93.tar.gz
tdepim-90c6a46c9c8d9d18e74302fa43b80ef77ce48f93.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;