summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/plan9/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/plan9/mem.c')
-rw-r--r--src/pkg/runtime/plan9/mem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/plan9/mem.c b/src/pkg/runtime/plan9/mem.c
index b840de984..9dfdf2cc3 100644
--- a/src/pkg/runtime/plan9/mem.c
+++ b/src/pkg/runtime/plan9/mem.c
@@ -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);
}