mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Don't use the register keyword with modern compilers, they know better than you (and complain that it's deprecated to boot
This commit is contained in:
parent
3f73bb99b9
commit
233771dcdc
3 changed files with 32 additions and 32 deletions
|
|
@ -1288,9 +1288,9 @@ __yy_memcpy (from, to, count)
|
|||
char *to;
|
||||
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++;
|
||||
|
|
@ -1303,9 +1303,9 @@ __yy_memcpy (from, to, count)
|
|||
static void
|
||||
__yy_memcpy (char *from, char *to, 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++;
|
||||
|
|
@ -1333,10 +1333,10 @@ int
|
|||
yyparse(YYPARSE_PARAM)
|
||||
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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue