]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused _F_{GET,SET}FL constants on solaris and openbsd
authorTobias Klauser <tklauser@distanz.ch>
Mon, 22 May 2023 18:55:07 +0000 (20:55 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 23 May 2023 19:40:51 +0000 (19:40 +0000)
These are only needed on aix and darwin.

Change-Id: Iea67e4631197359f2bec346ef7d7b723ca23646e
Reviewed-on: https://go-review.googlesource.com/c/go/+/497076
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/runtime/defs1_solaris_amd64.go
src/runtime/defs_openbsd_386.go
src/runtime/defs_openbsd_amd64.go
src/runtime/defs_openbsd_arm.go
src/runtime/defs_openbsd_arm64.go

index 4e541a913bb30b51e38d22ab94b15de58ac95e93..9ebe5bb03e5f0df1a1a6efd4b6a086fe710d670a 100644 (file)
@@ -96,8 +96,6 @@ const (
        _O_TRUNC    = 0x200
        _O_CREAT    = 0x100
        _O_CLOEXEC  = 0x800000
-       _F_GETFL    = 0x3
-       _F_SETFL    = 0x4
 
        _POLLIN  = 0x1
        _POLLOUT = 0x4
index d38a632577cc7e19031be8f4e2995245ace1a816..fde8af530ffeea333429bd68d9191194a346528f 100644 (file)
@@ -35,9 +35,6 @@ const (
 
        _PTHREAD_CREATE_DETACHED = 0x1
 
-       _F_GETFL = 0x3
-       _F_SETFL = 0x4
-
        _SIGHUP    = 0x1
        _SIGINT    = 0x2
        _SIGQUIT   = 0x3
index ed3c067989bd96cf103759b53829b6b8961142a8..0f29d0c2eb946c95af6c901a955dbe25f7df6456 100644 (file)
@@ -35,9 +35,6 @@ const (
 
        _PTHREAD_CREATE_DETACHED = 0x1
 
-       _F_GETFL = 0x3
-       _F_SETFL = 0x4
-
        _SIGHUP    = 0x1
        _SIGINT    = 0x2
        _SIGQUIT   = 0x3
index 00b265e538a4749c5c01e76902820d1409c27d6a..b56f3b4e346c2a789e46dc05cbf00c5203ded927 100644 (file)
@@ -35,9 +35,6 @@ const (
 
        _PTHREAD_CREATE_DETACHED = 0x1
 
-       _F_GETFL = 0x3
-       _F_SETFL = 0x4
-
        _SIGHUP    = 0x1
        _SIGINT    = 0x2
        _SIGQUIT   = 0x3
index 894fd39b75482dc00e89443db4bc2cb156f72668..0a9acc04944f2ab127955a20c0d218bcaec1d374 100644 (file)
@@ -36,9 +36,6 @@ const (
 
        _PTHREAD_CREATE_DETACHED = 0x1
 
-       _F_GETFL = 0x3
-       _F_SETFL = 0x4
-
        _SIGHUP    = 0x1
        _SIGINT    = 0x2
        _SIGQUIT   = 0x3