From: David du Colombier <0intro@gmail.com> Date: Thu, 27 Feb 2014 08:22:02 +0000 (+0100) Subject: runtime: fix build on Plan 9 X-Git-Tag: go1.3beta1~551 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=092dd4bed26a9e241d629c94734ded2c2cb2f2bd;p=gostls13.git runtime: fix build on Plan 9 warning: src/pkg/runtime/mem_plan9.c:72 param declared and not used: n src/pkg/runtime/mem_plan9.c:73 name not declared: nbytes src/pkg/runtime/mem_plan9.c:73 bad in naddr: NAME nbytes<>+0(SB) LGTM=minux.ma, bradfitz R=khr, minux.ma, bradfitz CC=golang-codereviews https://golang.org/cl/69360043 --- diff --git a/src/pkg/runtime/mem_plan9.c b/src/pkg/runtime/mem_plan9.c index ac4819e28f..709ff69a1c 100644 --- a/src/pkg/runtime/mem_plan9.c +++ b/src/pkg/runtime/mem_plan9.c @@ -68,7 +68,7 @@ runtime·SysMap(void *v, uintptr nbytes, uint64 *stat) } void -runtime·SysFault(void *v, uintptr n) +runtime·SysFault(void *v, uintptr nbytes) { USED(v, nbytes); }