summaryrefslogtreecommitdiff
path: root/libgo/runtime/netpoll_kqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/netpoll_kqueue.c')
-rw-r--r--libgo/runtime/netpoll_kqueue.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/libgo/runtime/netpoll_kqueue.c b/libgo/runtime/netpoll_kqueue.c
index 5d3f85617b..5144a870fb 100644
--- a/libgo/runtime/netpoll_kqueue.c
+++ b/libgo/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*
@@ -104,7 +111,8 @@ retry:
}
void
-runtime_netpoll_scan(void (*addroot)(Obj))
+runtime_netpoll_scan(struct Workbuf** wbufp, void (*enqueue1)(struct Workbuf**, Obj))
{
- USED(addroot);
+ USED(wbufp);
+ USED(enqueue1);
}