aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-11-01 04:12:01 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-11-01 04:12:01 +0000
commit207c35fa9ee1cde68cb992aa2525d96fa86d1f20 (patch)
tree9c67647652b1e15be8a4fa671f2e7a469b916f5b /libgo/go/syscall
parent15694fdd6d84dbed29898eff5caabc807d4f3067 (diff)
downloadgcc-207c35fa9ee1cde68cb992aa2525d96fa86d1f20.zip
gcc-207c35fa9ee1cde68cb992aa2525d96fa86d1f20.tar.gz
gcc-207c35fa9ee1cde68cb992aa2525d96fa86d1f20.tar.bz2
syscall: Portability code for epoll_event on GNU/Linux.
From-SVN: r180729
Diffstat (limited to 'libgo/go/syscall')
-rw-r--r--libgo/go/syscall/socket_linux.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/libgo/go/syscall/socket_linux.go b/libgo/go/syscall/socket_linux.go
index 5c0c645..49aac87 100644
--- a/libgo/go/syscall/socket_linux.go
+++ b/libgo/go/syscall/socket_linux.go
@@ -164,15 +164,6 @@ func anyToSockaddrOS(rsa *RawSockaddrAny) (Sockaddr, int) {
return nil, EAFNOSUPPORT
}
-// We don't take this type directly from the header file because it
-// uses a union. FIXME.
-
-type EpollEvent struct {
- Events uint32
- Fd int32
- Pad int32
-}
-
//sysnb EpollCreate(size int) (fd int, errno int)
//epoll_create(size int) int