summaryrefslogtreecommitdiff
path: root/libgo/runtime/netpoll_epoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/netpoll_epoll.c')
-rw-r--r--libgo/runtime/netpoll_epoll.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgo/runtime/netpoll_epoll.c b/libgo/runtime/netpoll_epoll.c
index b98aa818c89..2acbca32322 100644
--- a/libgo/runtime/netpoll_epoll.c
+++ b/libgo/runtime/netpoll_epoll.c
@@ -11,6 +11,7 @@
#include "runtime.h"
#include "defs.h"
+#include "malloc.h"
#ifndef EPOLLRDHUP
#define EPOLLRDHUP 0x2000
@@ -156,3 +157,9 @@ retry:
goto retry;
return gp;
}
+
+void
+runtime_netpoll_scan(void (*addroot)(Obj))
+{
+ USED(addroot);
+}