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/mem_linux.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/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 635594c365..429f820f8b 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; |
