diff options
| author | Ian Lance Taylor <iant@golang.org> | 2009-01-13 10:24:06 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2009-01-13 10:24:06 -0800 |
| commit | 1a0bde24ae765023278ce0b22328e871dbd1913c (patch) | |
| tree | 76aedbc701d3f0591b98f3b2cc5a31dc5151ef49 /src/runtime/malloc.c | |
| parent | 9b8da82d72fa41452c6640fce33a80414f48cfca (diff) | |
| download | go-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.c | 2 |
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 } |
