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:
authorAntony Riakiotakis <kalast@gmail.com>2011-11-17 02:20:17 +0400
committerAntony Riakiotakis <kalast@gmail.com>2011-11-17 02:20:17 +0400
commit68fa959de56f09f2dd575408699e4284eac77857 (patch)
treeef880eee7cfcb7f46668d20fc0dda07875c25922 /source/blender
parent7fbf5fbe8752c37ce61495e812d76065a6b9bc14 (diff)
BLI_mempool redefined causing compile time error, removing duplicate typedef
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/BLI_mempool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_mempool.c b/source/blender/blenlib/intern/BLI_mempool.c
index 4e37ac05214..19ae89da8ea 100644
--- a/source/blender/blenlib/intern/BLI_mempool.c
+++ b/source/blender/blenlib/intern/BLI_mempool.c
@@ -66,7 +66,7 @@ typedef struct BLI_mempool_chunk {
void *data;
} BLI_mempool_chunk;
-typedef struct BLI_mempool {
+struct BLI_mempool {
struct ListBase chunks;
int esize, csize, pchunk; /* size of elements and chunks in bytes
* and number of elements per chunk*/
@@ -76,7 +76,7 @@ typedef struct BLI_mempool {
BLI_freenode *free; /* free element list. Interleaved into chunk datas.*/
int totalloc, totused; /* total number of elements allocated in total,
* and currently in use*/
-} BLI_mempool;
+};
#define MEMPOOL_ELEM_SIZE_MIN (sizeof(void *) * 2)