From 7843a14df1b53d3500b9ef61d53ccf7d64f40921 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 8 Jan 2009 09:45:42 -0800 Subject: [PATCH] Remove duplicate typedef declarations. R=rsc DELTA=7 (0 added, 7 deleted, 0 changed) OCL=22267 CL=22281 --- src/runtime/malloc.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/runtime/malloc.h b/src/runtime/malloc.h index 9c71e631ac..5d2916af12 100644 --- a/src/runtime/malloc.h +++ b/src/runtime/malloc.h @@ -73,7 +73,6 @@ typedef struct FixAlloc FixAlloc; typedef struct MCentral MCentral; -typedef struct MCache MCache; typedef struct MHeap MHeap; typedef struct MHeapMap MHeapMap; typedef struct MHeapMapCache MHeapMapCache; @@ -148,7 +147,6 @@ void FixAlloc_Free(FixAlloc *f, void *p); // Statistics. // Shared with Go: if you edit this structure, also edit ../lib/malloc.go. -typedef struct MStats MStats; struct MStats { uint64 alloc; @@ -228,7 +226,6 @@ void MSpanList_Remove(MSpan *span); // from whatever list it is in // Central list of free objects of a given size. -typedef struct MCentral MCentral; struct MCentral { Lock; @@ -256,7 +253,6 @@ void MCentral_FreeList(MCentral *c, int32 n, MLink *first); // On the other hand, it's just virtual address space: most of // the memory is never going to be touched, thus never paged in. -typedef struct MHeapMap MHeapMap; typedef struct MHeapMapNode2 MHeapMapNode2; typedef struct MHeapMapNode3 MHeapMapNode3; @@ -319,7 +315,6 @@ enum MHeapMapCache_HashBits = 12 }; -typedef struct MHeapMapCache MHeapMapCache; struct MHeapMapCache { uintptr array[1<