Merge pull request #227 from smcv/old-style-declaration

Don't use mostly obsolete 'register' keyword (Merge or get off the pot.)
This commit is contained in:
Zachary J. Slater 2017-01-24 19:17:40 -10:00 committed by GitHub
commit bf3c88dcc1
6 changed files with 10 additions and 10 deletions

View file

@ -78,7 +78,7 @@ static void MD5Init(struct MD5Context *ctx)
static void MD5Transform(uint32_t buf[4],
uint32_t const in[16])
{
register uint32_t a, b, c, d;
uint32_t a, b, c, d;
a = buf[0];
b = buf[1];

View file

@ -317,8 +317,8 @@ locals from sp
int VM_CallInterpreted( vm_t *vm, int *args ) {
byte stack[OPSTACK_SIZE + 15];
register int *opStack;
register uint8_t opStackOfs;
int *opStack;
uint8_t opStackOfs;
int programCounter;
int programStack;
int stackOnEntry;