mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge pull request #1801 from Azaezel/registerRemoval
clang: register type modifier deprecated
This commit is contained in:
commit
bd4f2b002d
7 changed files with 17 additions and 17 deletions
|
|
@ -104,9 +104,9 @@ acceptable. Do NOT use for cryptographic purposes.
|
|||
--------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
U32 hash(register const U8 *k, register U32 length, register U32 initval)
|
||||
U32 hash(const U8 *k, U32 length, U32 initval)
|
||||
{
|
||||
register U32 a,b,c,len;
|
||||
U32 a,b,c,len;
|
||||
|
||||
/* Set up the internal state */
|
||||
len = length;
|
||||
|
|
@ -211,9 +211,9 @@ is acceptable. Do NOT use for cryptographic purposes.
|
|||
--------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
U64 hash64( register const U8 *k, register U32 length, register U64 initval )
|
||||
U64 hash64( const U8 *k, U32 length, U64 initval )
|
||||
{
|
||||
register U64 a,b,c,len;
|
||||
U64 a,b,c,len;
|
||||
|
||||
/* Set up the internal state */
|
||||
len = length;
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ void MD5Final( unsigned char digest[16], MD5Context* ctx)
|
|||
*/
|
||||
void MD5Transform( int buf[4], int in[16])
|
||||
{
|
||||
register int a, b, c, d;
|
||||
int a, b, c, d;
|
||||
|
||||
a = buf[0];
|
||||
b = buf[1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue