mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Don't typedef CoglMemoryStack twice
CoglMemoryStack was being typedef'd twice, once in the private header as an incomplete struct and once in the C source with the actual struct definition. This removes the second typedef so that it just defines the struct. This patch was written by Jack River. https://bugzilla.gnome.org/show_bug.cgi?id=675119 Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 75cd425a48e0fc403bf88eace212a6d37b65df11)
This commit is contained in:
parent
805a6247e8
commit
85efb7daba
@ -70,13 +70,13 @@ struct _CoglMemorySubStack
|
||||
uint8_t *data;
|
||||
};
|
||||
|
||||
typedef struct _CoglMemoryStack
|
||||
struct _CoglMemoryStack
|
||||
{
|
||||
CoglMemorySubStackList sub_stacks;
|
||||
|
||||
CoglMemorySubStack *sub_stack;
|
||||
size_t sub_stack_offset;
|
||||
} CoglMemoryStack;
|
||||
};
|
||||
|
||||
static CoglMemorySubStack *
|
||||
_cogl_memory_sub_stack_alloc (size_t bytes)
|
||||
|
Loading…
Reference in New Issue
Block a user