Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-23 09:47:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-23 11:20:20 +0300
commit6ab634ccc477fb704fce45663f170e500d5694b8 (patch)
tree53df61cccb53baa0c230352dc7ee9c97cd607428 /source/blender/blenlib/intern/smallhash.c
parent9d78b7edb98e769f6148d87b23709e28c5416ed0 (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/smallhash.c')
-rw-r--r--source/blender/blenlib/intern/smallhash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/smallhash.c b/source/blender/blenlib/intern/smallhash.c
index 142f0a991c8..b012ff36bf1 100644
--- a/source/blender/blenlib/intern/smallhash.c
+++ b/source/blender/blenlib/intern/smallhash.c
@@ -79,7 +79,8 @@ BLI_INLINE bool smallhash_val_is_used(const void *val)
#endif
}
-extern const uint hashsizes[];
+extern const uint BLI_ghash_hash_sizes[];
+#define hashsizes BLI_ghash_hash_sizes
BLI_INLINE uint smallhash_key(const uintptr_t key)
{