From 5cdc130692cf68d7647c01c79813ae7b125a99f3 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Wed, 5 Jul 2017 05:37:35 +0000 Subject: [PATCH] Remove register keyword from LZ4 and libxmp-lite. git-svn-id: https://svn.eduke32.com/eduke32@6312 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/lz4.c | 2 +- source/libxmp-lite/src/mix_all.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/build/src/lz4.c b/source/build/src/lz4.c index 143c36e1a..e3f0c03ac 100644 --- a/source/build/src/lz4.c +++ b/source/build/src/lz4.c @@ -289,7 +289,7 @@ static const int LZ4_minLength = (MFLIMIT+1); /*-************************************ * Common functions **************************************/ -static unsigned LZ4_NbCommonBytes (register reg_t val) +static unsigned LZ4_NbCommonBytes (reg_t val) { if (LZ4_isLittleEndian()) { if (sizeof(val)==8) { diff --git a/source/libxmp-lite/src/mix_all.c b/source/libxmp-lite/src/mix_all.c index 64904a3ec..cd5cda520 100644 --- a/source/libxmp-lite/src/mix_all.c +++ b/source/libxmp-lite/src/mix_all.c @@ -147,7 +147,7 @@ } while (0) #define VAR_NORM(x) \ - register int smp_in; \ + int smp_in; \ x *sptr = (x *)vi->sptr; \ unsigned int pos = (unsigned int)vi->pos; \ int frac = (int)((1 << SMIX_SHIFT) * (vi->pos - (int)vi->pos))