diff options
| author | Russ Cox <rsc@golang.org> | 2014-08-30 00:54:40 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-08-30 00:54:40 -0400 |
| commit | 0316dafda26619175f35e5e89f1920ebf37c85a3 (patch) | |
| tree | d8472c76f06504fc2de4350569e5b5214bb817a0 /src/pkg/runtime/heapdump.c | |
| parent | d4df63c3e8f37aa6ea033bae8937673460915279 (diff) | |
| download | go-0316dafda26619175f35e5e89f1920ebf37c85a3.tar.xz | |
runtime: rename SysAlloc to sysAlloc for Go
Renaming the C SysAlloc will let Go define a prototype without exporting it.
For use in cpuprof.goc's translation to Go.
LGTM=mdempsky
R=golang-codereviews, mdempsky
CC=golang-codereviews, iant
https://golang.org/cl/140060043
Diffstat (limited to 'src/pkg/runtime/heapdump.c')
| -rw-r--r-- | src/pkg/runtime/heapdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/heapdump.c b/src/pkg/runtime/heapdump.c index fe67e15f35..29a9ae6476 100644 --- a/src/pkg/runtime/heapdump.c +++ b/src/pkg/runtime/heapdump.c @@ -825,7 +825,7 @@ makeheapobjbv(byte *p, uintptr size) if(tmpbuf != nil) runtime·SysFree(tmpbuf, tmpbufsize, &mstats.other_sys); tmpbufsize = nptr*BitsPerPointer/8+1; - tmpbuf = runtime·SysAlloc(tmpbufsize, &mstats.other_sys); + tmpbuf = runtime·sysAlloc(tmpbufsize, &mstats.other_sys); if(tmpbuf == nil) runtime·throw("heapdump: out of memory"); } |
