runtime/internal/syscall: merge duplicate constants

Change-Id: Ifdc6e22d52317cdb90a607ac4d72437d4d6b33e8
Reviewed-on: https://go-review.googlesource.com/c/go/+/564716
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
Andy Pan 2024-02-16 14:32:27 +08:00 committed by Gopher Robot
parent d068c2cb62
commit a3c35430fc
11 changed files with 21 additions and 111 deletions

View file

@ -14,17 +14,7 @@ const (
SYS_EPOLL_PWAIT2 = 5441
SYS_EVENTFD2 = 5284
EPOLLIN = 0x1
EPOLLOUT = 0x4
EPOLLERR = 0x8
EPOLLHUP = 0x10
EPOLLRDHUP = 0x2000
EPOLLET = 0x80000000
EPOLL_CLOEXEC = 0x80000
EPOLL_CTL_ADD = 0x1
EPOLL_CTL_DEL = 0x2
EPOLL_CTL_MOD = 0x3
EFD_NONBLOCK = 0x80
EFD_NONBLOCK = 0x80
)
type EpollEvent struct {