]> Cypherpunks repositories - gostls13.git/commitdiff
Add USED declarations for SysUnused parameters.
authorIan Lance Taylor <iant@golang.org>
Tue, 13 Jan 2009 18:24:06 +0000 (10:24 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 13 Jan 2009 18:24:06 +0000 (10:24 -0800)
R=rsc
DELTA=2  (2 added, 0 deleted, 0 changed)
OCL=22640
CL=22642

src/runtime/malloc.c

index 52ae3b04c6d73fcb07a0f7bad2b496fe9228693b..6a494eeafb855fed4da5ddb563f92a62e3fb949c 100644 (file)
@@ -170,6 +170,8 @@ SysAlloc(uintptr n)
 void
 SysUnused(void *v, uintptr n)
 {
+       USED(v);
+       USED(n);
        // TODO(rsc): call madvise MADV_DONTNEED
 }