aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-08-04 20:29:36 -0700
committerIan Lance Taylor <iant@golang.org>2014-08-04 20:29:36 -0700
commit6c007bb065dbbf0db878c68221d302f49b3e8350 (patch)
treee91185b1eb00910100d089e00e8869405547e93c /src/pkg/runtime
parentaac1eabcee45a338f5b2e493cb2e3a0f153cb931 (diff)
downloadgo-6c007bb065dbbf0db878c68221d302f49b3e8350.tar.xz
runtime: only use a single variable in USED
The gccgo version of USED only accepts a single variable, so this simplifies merging. LGTM=minux, dave R=golang-codereviews, minux, dave CC=golang-codereviews https://golang.org/cl/115630043
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/netpoll_epoll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/netpoll_epoll.c b/src/pkg/runtime/netpoll_epoll.c
index 9ea5e1a595..a0ae7df310 100644
--- a/src/pkg/runtime/netpoll_epoll.c
+++ b/src/pkg/runtime/netpoll_epoll.c
@@ -55,7 +55,8 @@ runtime·netpollclose(uintptr fd)
void
runtime·netpollarm(PollDesc* pd, int32 mode)
{
- USED(pd, mode);
+ USED(pd);
+ USED(mode);
runtime·throw("unused");
}