Remove register keyword from LZ4 and libxmp-lite.

git-svn-id: https://svn.eduke32.com/eduke32@6312 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-07-05 05:37:35 +00:00
parent 7d020e3338
commit 5cdc130692
2 changed files with 2 additions and 2 deletions

View file

@ -289,7 +289,7 @@ static const int LZ4_minLength = (MFLIMIT+1);
/*-************************************ /*-************************************
* Common functions * Common functions
**************************************/ **************************************/
static unsigned LZ4_NbCommonBytes (register reg_t val) static unsigned LZ4_NbCommonBytes (reg_t val)
{ {
if (LZ4_isLittleEndian()) { if (LZ4_isLittleEndian()) {
if (sizeof(val)==8) { if (sizeof(val)==8) {

View file

@ -147,7 +147,7 @@
} while (0) } while (0)
#define VAR_NORM(x) \ #define VAR_NORM(x) \
register int smp_in; \ int smp_in; \
x *sptr = (x *)vi->sptr; \ x *sptr = (x *)vi->sptr; \
unsigned int pos = (unsigned int)vi->pos; \ unsigned int pos = (unsigned int)vi->pos; \
int frac = (int)((1 << SMIX_SHIFT) * (vi->pos - (int)vi->pos)) int frac = (int)((1 << SMIX_SHIFT) * (vi->pos - (int)vi->pos))