summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/netpoll_epoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/netpoll_epoll.c')
-rw-r--r--src/pkg/runtime/netpoll_epoll.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pkg/runtime/netpoll_epoll.c b/src/pkg/runtime/netpoll_epoll.c
index 885ac5e4d..9ea5e1a59 100644
--- a/src/pkg/runtime/netpoll_epoll.c
+++ b/src/pkg/runtime/netpoll_epoll.c
@@ -52,6 +52,13 @@ runtime·netpollclose(uintptr fd)
return -res;
}
+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*