summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/netpoll_kqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/netpoll_kqueue.c')
-rw-r--r--src/pkg/runtime/netpoll_kqueue.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pkg/runtime/netpoll_kqueue.c b/src/pkg/runtime/netpoll_kqueue.c
index afc8d6859..171346cce 100644
--- a/src/pkg/runtime/netpoll_kqueue.c
+++ b/src/pkg/runtime/netpoll_kqueue.c
@@ -59,6 +59,13 @@ runtime·netpollclose(uintptr fd)
return 0;
}
+void
+runtime·netpollarm(PollDesc* pd, int32 mode)
+{
+ USED(pd, mode);
+ runtime·throw("unused");
+}
+
// Polls for ready network connections.
// Returns list of goroutines that become runnable.
G*