]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix cmallocgc's C prototype
authorMatthew Dempsky <mdempsky@google.com>
Thu, 31 Jul 2014 00:08:33 +0000 (17:08 -0700)
committerKeith Randall <khr@golang.org>
Thu, 31 Jul 2014 00:08:33 +0000 (17:08 -0700)
LGTM=khr
R=khr
CC=golang-codereviews
https://golang.org/cl/121910043

src/pkg/runtime/malloc.c

index cf1acdcbceb559995b6ad979f8faead1c6dbb343..7bc70cf608ba950147b4416a3be19159dc32a2ed 100644 (file)
@@ -21,7 +21,7 @@ MHeap runtime·mheap;
 #pragma dataflag NOPTR
 MStats runtime·memstats;
 
-void* runtime·cmallocgc(uintptr size, Type *typ, uint32 flag, void **ret);
+void runtime·cmallocgc(uintptr size, Type *typ, uint32 flag, void **ret);
 
 void*
 runtime·mallocgc(uintptr size, Type *typ, uint32 flag)