diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-01-30 20:17:52 +0900 |
commit | e5dc5b5be9900b9c8b2d7988216d56156c806b20 (patch) | |
tree | d0209902442729f7856d2a8efdca565373fb5c43 /kexi/3rdparty/kexisql3/src | |
parent | 9d008f46e1b540304fdb7fb0270e23b7c3f43a68 (diff) | |
download | koffice-e5dc5b5be9900b9c8b2d7988216d56156c806b20.tar.gz koffice-e5dc5b5be9900b9c8b2d7988216d56156c806b20.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kexi/3rdparty/kexisql3/src')
-rw-r--r-- | kexi/3rdparty/kexisql3/src/func.c | 2 | ||||
-rw-r--r-- | kexi/3rdparty/kexisql3/src/md5.c | 2 | ||||
-rw-r--r-- | kexi/3rdparty/kexisql3/src/printf.c | 8 | ||||
-rw-r--r-- | kexi/3rdparty/kexisql3/src/util.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/kexi/3rdparty/kexisql3/src/func.c b/kexi/3rdparty/kexisql3/src/func.c index 9917f4e2..3f78c59d 100644 --- a/kexi/3rdparty/kexisql3/src/func.c +++ b/kexi/3rdparty/kexisql3/src/func.c @@ -363,7 +363,7 @@ static int patternCompare( const struct compareInfo *pInfo, /* Information about how to do the compare */ const int esc /* The escape character */ ){ - register int c; + int c; int invert; int seen; int c2; diff --git a/kexi/3rdparty/kexisql3/src/md5.c b/kexi/3rdparty/kexisql3/src/md5.c index 32fcb6b6..a527b256 100644 --- a/kexi/3rdparty/kexisql3/src/md5.c +++ b/kexi/3rdparty/kexisql3/src/md5.c @@ -81,7 +81,7 @@ static void byteReverse (unsigned char *buf, unsigned longs){ * the data and converts bytes into longwords for this routine. */ static void MD5Transform(uint32 buf[4], const uint32 in[16]){ - register uint32 a, b, c, d; + uint32 a, b, c, d; a = buf[0]; b = buf[1]; diff --git a/kexi/3rdparty/kexisql3/src/printf.c b/kexi/3rdparty/kexisql3/src/printf.c index a669eb8d..a980e79c 100644 --- a/kexi/3rdparty/kexisql3/src/printf.c +++ b/kexi/3rdparty/kexisql3/src/printf.c @@ -397,8 +397,8 @@ static int vxprintf( } bufpt = &buf[etBUFSIZE-1]; { - register const char *cset; /* Use registers for speed */ - register int base; + const char *cset; /* Use registers for speed */ + int base; cset = &aDigits[infop->charset]; base = infop->base; do{ /* Convert to ascii */ @@ -659,7 +659,7 @@ static int vxprintf( ** the output. */ if( !flag_leftjustify ){ - register int nspace; + int nspace; nspace = width-length; if( nspace>0 ){ count += nspace; @@ -675,7 +675,7 @@ static int vxprintf( count += length; } if( flag_leftjustify ){ - register int nspace; + int nspace; nspace = width-length; if( nspace>0 ){ count += nspace; diff --git a/kexi/3rdparty/kexisql3/src/util.c b/kexi/3rdparty/kexisql3/src/util.c index 0bbcb019..dd01a1c7 100644 --- a/kexi/3rdparty/kexisql3/src/util.c +++ b/kexi/3rdparty/kexisql3/src/util.c @@ -545,14 +545,14 @@ const unsigned char sqlite3UpperToLower[] = { ** there is no consistency, we will define our own. */ int sqlite3StrICmp(const char *zLeft, const char *zRight){ - register unsigned char *a, *b; + unsigned char *a, *b; a = (unsigned char *)zLeft; b = (unsigned char *)zRight; while( *a!=0 && UpperToLower[*a]==UpperToLower[*b]){ a++; b++; } return UpperToLower[*a] - UpperToLower[*b]; } int sqlite3StrNICmp(const char *zLeft, const char *zRight, int N){ - register unsigned char *a, *b; + unsigned char *a, *b; a = (unsigned char *)zLeft; b = (unsigned char *)zRight; while( N-- > 0 && *a!=0 && UpperToLower[*a]==UpperToLower[*b]){ a++; b++; } |