diff options
author | Mikio Hara <mikioh.mikioh@gmail.com> | 2017-08-19 13:46:48 +0900 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-11-28 18:57:25 +0000 |
commit | e76ae8af9279ad3efc9c25ff7bb220114b70de80 (patch) | |
tree | 010595eba036bc2be67d35a1d4b241557acc88e1 /src/syscall/zsyscall_freebsd_386.go | |
parent | 9a13f8e11ce487fccef071303164b3d963e6ede6 (diff) | |
download | go-git-e76ae8af9279ad3efc9c25ff7bb220114b70de80.tar.gz |
all: drop support for FreeBSD 9 or below
This change drops the support for FreeBSD 9 or below and simplifies
platform-dependent code for the sake of maintenance.
Updates #7187.
Fixes #11412.
Updates #16064.
Updates #18854.
Fixes #19072.
Change-Id: I9129130aafbfc7d0d7e9b674b6fc6cb31b7381be
Reviewed-on: https://go-review.googlesource.com/64910
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/syscall/zsyscall_freebsd_386.go')
-rw-r--r-- | src/syscall/zsyscall_freebsd_386.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/syscall/zsyscall_freebsd_386.go b/src/syscall/zsyscall_freebsd_386.go index e1d371423c..4ada995e54 100644 --- a/src/syscall/zsyscall_freebsd_386.go +++ b/src/syscall/zsyscall_freebsd_386.go @@ -261,18 +261,6 @@ func fcntl(fd int, cmd int, arg int) (val int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func pipe() (r int, w int, err error) { - r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0) - r = int(r0) - w = int(r1) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func pipe2(p *[2]_C_int, flags int) (err error) { _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) if e1 != 0 { |