Commit ceef10c2 authored by Lucio De Re's avatar Lucio De Re Committed by Rob Pike

pkg/runtime/plan9: Warning remediation, for Plan 9 native.

. Missing declaration of runtime.brk_();
. Argument v in runtime.SysReserve() is not used;
  (I'd prefer a Plan 9-type solution...)

R=golang-dev, r, r2
CC=golang-dev
https://golang.org/cl/4368076
parent 02cae293
......@@ -4,6 +4,7 @@
#include "runtime.h"
#include "malloc.h"
#include "os.h"
extern byte end[];
static byte *bloc = { end };
......@@ -52,5 +53,6 @@ runtime·SysMap(void *v, uintptr nbytes)
void*
runtime·SysReserve(void *v, uintptr nbytes)
{
USED(v);
return runtime·SysAlloc(nbytes);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment