Merge "libvpx: cherry pick "register" removal"
diff --git a/README.version b/README.version
index c6c6a37..1aeb4e5 100644
--- a/README.version
+++ b/README.version
@@ -4,3 +4,4 @@
Owners: johannkoenig
Local Modifications:
Add visibility="protected" attribute for global variables referenced in asm files.
+ Remove "register" keyword from variables
diff --git a/libvpx/md5_utils.c b/libvpx/md5_utils.c
index 093798b..9ddb104 100644
--- a/libvpx/md5_utils.c
+++ b/libvpx/md5_utils.c
@@ -163,7 +163,7 @@
*/
VPX_NO_UNSIGNED_OVERFLOW_CHECK void MD5Transform(UWORD32 buf[4],
UWORD32 const in[16]) {
- register UWORD32 a, b, c, d;
+ UWORD32 a, b, c, d;
a = buf[0];
b = buf[1];
diff --git a/libvpx/vp8/decoder/treereader.h b/libvpx/vp8/decoder/treereader.h
index dd0f098..fd622a4 100644
--- a/libvpx/vp8/decoder/treereader.h
+++ b/libvpx/vp8/decoder/treereader.h
@@ -30,7 +30,7 @@
static INLINE int vp8_treed_read(
vp8_reader *const r, /* !!! must return a 0 or 1 !!! */
vp8_tree t, const vp8_prob *const p) {
- register vp8_tree_index i = 0;
+ vp8_tree_index i = 0;
while ((i = t[i + vp8_read(r, p[i >> 1])]) > 0) {
}