mirror of
https://github.com/golang/go
synced 2024-11-19 00:04:40 -07:00
runtime: remove unused F_{GET,SET}FL cgo constants on solaris and openbsd
The generated constants were already removed by CL 497076, so the cgo constants used to generate them are no longer needed as well. Change-Id: I37dabd800461d134424af8bd72fb0c1b8504d604 Reviewed-on: https://go-review.googlesource.com/c/go/+/509676 Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
parent
db24f63b10
commit
65c133506f
@ -57,9 +57,6 @@ const (
|
||||
|
||||
PTHREAD_CREATE_DETACHED = C.PTHREAD_CREATE_DETACHED
|
||||
|
||||
F_GETFL = C.F_GETFL
|
||||
F_SETFL = C.F_SETFL
|
||||
|
||||
SIGHUP = C.SIGHUP
|
||||
SIGINT = C.SIGINT
|
||||
SIGQUIT = C.SIGQUIT
|
||||
|
@ -125,8 +125,6 @@ const (
|
||||
O_CREAT = C.O_CREAT
|
||||
O_TRUNC = C.O_TRUNC
|
||||
O_CLOEXEC = C.O_CLOEXEC
|
||||
F_GETFL = C.F_GETFL
|
||||
F_SETFL = C.F_SETFL
|
||||
|
||||
POLLIN = C.POLLIN
|
||||
POLLOUT = C.POLLOUT
|
||||
|
Loading…
Reference in New Issue
Block a user