aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2013-05-20 12:55:50 +1000
committerAlex Brainman <alex.brainman@gmail.com>2013-05-20 12:55:50 +1000
commit38abb09a2e4c682d0dcbe2d592c32bf0f9c2d1c5 (patch)
treed5d18f3c4adac695a3d8599f25c7e70491db000a /src/pkg/runtime/runtime.h
parentfee1d1cda04e6a936d62be6d06c838150a03d2de (diff)
downloadgo-38abb09a2e4c682d0dcbe2d592c32bf0f9c2d1c5.tar.xz
runtime: change PollDesc.fd from int32 to uintptr
This is in preparation for netpoll windows version. R=golang-dev, bradfitz CC=dvyukov, golang-dev, mikioh.mikioh https://golang.org/cl/9569043
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index cb72b92d67..ef162e9bbb 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -803,8 +803,8 @@ void runtime·addtimer(Timer*);
bool runtime·deltimer(Timer*);
G* runtime·netpoll(bool);
void runtime·netpollinit(void);
-int32 runtime·netpollopen(int32, PollDesc*);
-int32 runtime·netpollclose(int32);
+int32 runtime·netpollopen(uintptr, PollDesc*);
+int32 runtime·netpollclose(uintptr);
void runtime·netpollready(G**, PollDesc*, int32);
void runtime·crash(void);