Remove all usage of the "register" storage class specifier.
This commit is contained in:
parent
f350160963
commit
68229837ff
14 changed files with 247 additions and 252 deletions
|
@ -13472,7 +13472,7 @@ static const char op_tokens[] = {
|
|||
|
||||
static arith_t arith (const char *expr, int *perrcode)
|
||||
{
|
||||
register char arithval; /* Current character under analysis */
|
||||
char arithval; /* Current character under analysis */
|
||||
operator lasttok, op;
|
||||
operator prec;
|
||||
|
||||
|
|
|
@ -707,10 +707,10 @@ static int get_command(FILE * source, char *command)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static char* itoa(register int i)
|
||||
static char* itoa(int i)
|
||||
{
|
||||
static char a[7]; /* Max 7 ints */
|
||||
register char *b = a + sizeof(a) - 1;
|
||||
char *b = a + sizeof(a) - 1;
|
||||
int sign = (i < 0);
|
||||
|
||||
if (sign)
|
||||
|
|
419
shell/msh.c
419
shell/msh.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue