We've already typedef'ed emem_header_t in emem.h. We don't have to do it
authorGerald Combs <gerald@wireshark.org>
Mon, 8 Oct 2012 17:52:42 +0000 (17:52 -0000)
committerGerald Combs <gerald@wireshark.org>
Mon, 8 Oct 2012 17:52:42 +0000 (17:52 -0000)
again in emem.c.

svn path=/trunk/; revision=45396

epan/emem.c

index 1a49ca690d2838cef841f44a609cfc98144f7ed7..ffcc0a616011d43945396e342f41a26ac4e1e1f6 100644 (file)
@@ -113,7 +113,7 @@ typedef struct _emem_chunk_t {
        void            *canary_last;
 } emem_chunk_t;
 
-typedef struct _emem_header_t {
+struct _emem_header_t {
        emem_chunk_t *free_list;
        emem_chunk_t *used_list;
 
@@ -150,7 +150,7 @@ typedef struct _emem_header_t {
         */
        gboolean debug_verify_pointers;
 
-} emem_header_t;
+};
 
 static GSList *ep_pool_stack = NULL;
 static emem_header_t ep_fake_pool;
@@ -1307,7 +1307,7 @@ emem_header_t *
 ep_create_pool(void)
 {
        emem_header_t *mem;
-       
+
        mem = g_malloc(sizeof(emem_header_t));
 
        ep_init_chunk(mem);
@@ -2234,7 +2234,7 @@ static void
 emem_print_subtree(emem_tree_t* emem_tree, guint32 level)
 {
        guint32 i;
-        
+
        if (!emem_tree)
                return;