aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2009-01-13 10:24:06 -0800
committerIan Lance Taylor <iant@golang.org>2009-01-13 10:24:06 -0800
commit1a0bde24ae765023278ce0b22328e871dbd1913c (patch)
tree76aedbc701d3f0591b98f3b2cc5a31dc5151ef49 /src/runtime/malloc.c
parent9b8da82d72fa41452c6640fce33a80414f48cfca (diff)
downloadgo-1a0bde24ae765023278ce0b22328e871dbd1913c.tar.xz
Add USED declarations for SysUnused parameters.
R=rsc DELTA=2 (2 added, 0 deleted, 0 changed) OCL=22640 CL=22642
Diffstat (limited to 'src/runtime/malloc.c')
-rw-r--r--src/runtime/malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/malloc.c b/src/runtime/malloc.c
index 52ae3b04c6..6a494eeafb 100644
--- a/src/runtime/malloc.c
+++ b/src/runtime/malloc.c
@@ -170,6 +170,8 @@ SysAlloc(uintptr n)
void
SysUnused(void *v, uintptr n)
{
+ USED(v);
+ USED(n);
// TODO(rsc): call madvise MADV_DONTNEED
}