From 5f209642fd793d4ce6f789291ed760c4531192ab Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 30 Aug 2014 00:54:40 -0400 Subject: 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 --- src/pkg/runtime/mem_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/runtime/mem_linux.c') 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; -- cgit v1.2.1