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:
Tobias Klauser 2023-07-14 20:30:43 +02:00 committed by Gopher Robot
parent db24f63b10
commit 65c133506f
2 changed files with 0 additions and 5 deletions

View file

@ -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

View file

@ -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