diff options
author | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:22 -0500 |
---|---|---|
committer | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:22 -0500 |
commit | 07971ca38143c5faf951d152fba370ddcbe26ad5 (patch) | |
tree | 09af1ef91c782de921efc83113907184c8adecee /vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go | |
parent | 9b6f05970a001f683b9c886c652de81f00cd5f00 (diff) | |
download | terraform-provider-statuscake-07971ca38143c5faf951d152fba370ddcbe26ad5.tar.gz terraform-provider-statuscake-07971ca38143c5faf951d152fba370ddcbe26ad5.tar.zst terraform-provider-statuscake-07971ca38143c5faf951d152fba370ddcbe26ad5.zip |
deps: use go modules for dep mgmt
run go mod tidy
remove govendor from makefile and travis config
set appropriate env vars for go modules
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go')
-rw-r--r-- | vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go deleted file mode 100644 index 94c8232..0000000 --- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | // Copyright 2015 The Go Authors. All rights reserved. | ||
2 | // Use of this source code is governed by a BSD-style | ||
3 | // license that can be found in the LICENSE file. | ||
4 | |||
5 | // +build gccgo | ||
6 | |||
7 | package unix | ||
8 | |||
9 | import "syscall" | ||
10 | |||
11 | // We can't use the gc-syntax .s files for gccgo. On the plus side | ||
12 | // much of the functionality can be written directly in Go. | ||
13 | |||
14 | //extern gccgoRealSyscall | ||
15 | func realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r, errno uintptr) | ||
16 | |||
17 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) { | ||
18 | syscall.Entersyscall() | ||
19 | r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0) | ||
20 | syscall.Exitsyscall() | ||
21 | return r, 0, syscall.Errno(errno) | ||
22 | } | ||
23 | |||
24 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) { | ||
25 | syscall.Entersyscall() | ||
26 | r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0) | ||
27 | syscall.Exitsyscall() | ||
28 | return r, 0, syscall.Errno(errno) | ||
29 | } | ||
30 | |||
31 | func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) { | ||
32 | syscall.Entersyscall() | ||
33 | r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9) | ||
34 | syscall.Exitsyscall() | ||
35 | return r, 0, syscall.Errno(errno) | ||
36 | } | ||
37 | |||
38 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) { | ||
39 | r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0) | ||
40 | return r, 0, syscall.Errno(errno) | ||
41 | } | ||
42 | |||
43 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) { | ||
44 | r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0) | ||
45 | return r, 0, syscall.Errno(errno) | ||
46 | } | ||