--- a/cogl/cogl-memory-stack.c.old	2012-04-30 14:25:56.195935842 +0800
+++ b/cogl/cogl-memory-stack.c	2012-04-30 14:26:16.762935480 +0800
@@ -70,13 +70,13 @@
   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)

