Remove all usage of the "register" storage class specifier.

This commit is contained in:
"Robert P. J. Day" 2006-07-01 13:08:46 +00:00
parent f350160963
commit 68229837ff
14 changed files with 247 additions and 252 deletions

View file

@ -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;

View file

@ -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)

File diff suppressed because it is too large Load diff