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 | 5f209642fd793d4ce6f789291ed760c4531192ab (patch) | |
tree | 00266b96e16984178f659479b2ab7c8dfef074e8 /src/pkg/runtime/mem_linux.c | |
parent | 21d67c807cd62ba3260fdb646c006d1a1f7efbfc (diff) | |
download | go-5f209642fd793d4ce6f789291ed760c4531192ab.tar.gz |
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://codereview.appspot.com/140060043
Diffstat (limited to 'src/pkg/runtime/mem_linux.c')
-rw-r--r-- | src/pkg/runtime/mem_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/mem_linux.c b/src/pkg/runtime/mem_linux.c index 635594c36..429f820f8 100644 --- a/src/pkg/runtime/mem_linux.c +++ b/src/pkg/runtime/mem_linux.c @@ -58,7 +58,7 @@ mmap_fixed(byte *v, uintptr n, int32 prot, int32 flags, int32 fd, uint32 offset) } void* -runtime·SysAlloc(uintptr n, uint64 *stat) +runtime·sysAlloc(uintptr n, uint64 *stat) { void *p; |