diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:58 +0900 |
commit | 92fa724cc7692a0d4b64f0214250b29ba86221b5 (patch) | |
tree | f58f2c1d4ea8f2fe2214c821693a26460f707b78 /src/translators/btparse/err.h | |
parent | 50f53e01f0f276c8cc9187813b7c4220e1669839 (diff) | |
download | tellico-92fa724cc7692a0d4b64f0214250b29ba86221b5.tar.gz tellico-92fa724cc7692a0d4b64f0214250b29ba86221b5.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/translators/btparse/err.h')
-rw-r--r-- | src/translators/btparse/err.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/translators/btparse/err.h b/src/translators/btparse/err.h index d16615d..0717b9c 100644 --- a/src/translators/btparse/err.h +++ b/src/translators/btparse/err.h @@ -230,14 +230,14 @@ zzrestore_antlr_state(zzantlr_state *buf) void zzedecode(SetWordType *a) { - register SetWordType *p = a; - register SetWordType *endp = &(p[zzSET_SIZE]); - register unsigned e = 0; + SetWordType *p = a; + SetWordType *endp = &(p[zzSET_SIZE]); + unsigned e = 0; if ( zzset_deg(a)>1 ) fprintf(stderr, " {"); do { - register SetWordType t = *p; - register SetWordType *b = &(bitmask[0]); + SetWordType t = *p; + SetWordType *b = &(bitmask[0]); do { if ( t & *b ) fprintf(stderr, " %s", zztokens[e]); e++; @@ -281,15 +281,15 @@ zzset_deg(SetWordType *a) of elements present in the set. Assumes that all word bits are used in the set */ - register SetWordType *p = a; - register SetWordType *endp = &(a[zzSET_SIZE]); - register int degree = 0; + SetWordType *p = a; + SetWordType *endp = &(a[zzSET_SIZE]); + int degree = 0; if ( a == NULL ) return 0; while ( p < endp ) { - register SetWordType t = *p; - register SetWordType *b = &(bitmask[0]); + SetWordType t = *p; + SetWordType *b = &(bitmask[0]); do { if (t & *b) ++degree; } while (++b < &(bitmask[sizeof(SetWordType)*8])); |