summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-04-09 15:30:40 -0700
committerRuss Cox <rsc@golang.org>2010-04-09 15:30:40 -0700
commit79da15518c65196d0a6eb86d682c74161f6e2ef4 (patch)
tree45108c80c561d126a26fc4ddcd55e275f4e8d8d4 /src/pkg/runtime/malloc.h
parentd13ec30e1e389fcd90e9d3be49765f49bf791f93 (diff)
downloadgolang-79da15518c65196d0a6eb86d682c74161f6e2ef4.tar.gz
runtime: delete malx, skip_depth argument to malloc
remove internal functions from traces in gopprof instead. R=r CC=golang-dev http://codereview.appspot.com/855046
Diffstat (limited to 'src/pkg/runtime/malloc.h')
-rw-r--r--src/pkg/runtime/malloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h
index caed4d3fc..8b733b6a4 100644
--- a/src/pkg/runtime/malloc.h
+++ b/src/pkg/runtime/malloc.h
@@ -346,7 +346,7 @@ MSpan* MHeap_Lookup(MHeap *h, PageID p);
MSpan* MHeap_LookupMaybe(MHeap *h, PageID p);
void MGetSizeClassInfo(int32 sizeclass, int32 *size, int32 *npages, int32 *nobj);
-void* mallocgc(uintptr size, uint32 flag, int32 dogc, int32 zeroed, int32 skip_depth);
+void* mallocgc(uintptr size, uint32 flag, int32 dogc, int32 zeroed);
int32 mlookup(void *v, byte **base, uintptr *size, MSpan **s, uint32 **ref);
void gc(int32 force);
@@ -369,7 +369,7 @@ enum
RefFlags = 0xFFFF0000U,
};
-void MProf_Malloc(int32, void*, uintptr);
+void MProf_Malloc(void*, uintptr);
void MProf_Free(void*, uintptr);
// Malloc profiling settings.