diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 09:47:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 11:20:20 +0300 |
commit | 6ab634ccc477fb704fce45663f170e500d5694b8 (patch) | |
tree | 53df61cccb53baa0c230352dc7ee9c97cd607428 /source/blender/blenlib/intern/rand.c | |
parent | 9d78b7edb98e769f6148d87b23709e28c5416ed0 (diff) |
Cleanup: use specific names for global variables
hash & hashsizes are generic names, be more specific & define the
generic names locally.
Quiet undeclared variable warnings.
Diffstat (limited to 'source/blender/blenlib/intern/rand.c')
-rw-r--r-- | source/blender/blenlib/intern/rand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/rand.c b/source/blender/blenlib/intern/rand.c index e453d5a01f8..764d0c48f0d 100644 --- a/source/blender/blenlib/intern/rand.c +++ b/source/blender/blenlib/intern/rand.c @@ -46,7 +46,8 @@ #define ADDEND 0xB #define LOWSEED 0x330E -extern unsigned char hash[]; // noise.c +extern unsigned char BLI_noise_hash_uchar_512[512]; /* noise.c */ +#define hash BLI_noise_hash_uchar_512 /** * Random Number Generator. |