diff options
author | borman <borman@yandex-team.com> | 2023-12-06 20:43:18 +0300 |
---|---|---|
committer | borman <borman@yandex-team.com> | 2023-12-06 23:34:56 +0300 |
commit | b2c749509aee1b26713f88e93aa7c7f7059e31e0 (patch) | |
tree | 4d4f282facc7edf966875d5aaa2b1f5e13d45469 /vendor/golang.org/x/sys/unix/mksysctl_openbsd.go | |
parent | 3e3eea42c85e3088ac4032e9056f7bd838a50ab4 (diff) | |
download | ydb-b2c749509aee1b26713f88e93aa7c7f7059e31e0.tar.gz |
Update golang.org/x/* deps for import
Diffstat (limited to 'vendor/golang.org/x/sys/unix/mksysctl_openbsd.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/mksysctl_openbsd.go | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go b/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go index 3fde87eca5..80f3747eca 100644 --- a/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go +++ b/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build ignore -// +build ignore // Parse the header files for OpenBSD and generate a Go usable sysctl MIB. // @@ -37,11 +36,6 @@ func goBuildTags() string { return fmt.Sprintf("%s && %s", goarch, goos) } -// plusBuildTags returns build tags in the +build format. -func plusBuildTags() string { - return fmt.Sprintf("%s,%s", goarch, goos) -} - // reMatch performs regular expression match and stores the substring slice to value pointed by m. func reMatch(re *regexp.Regexp, str string, m *[]string) bool { *m = re.FindStringSubmatch(str) @@ -336,14 +330,13 @@ func main() { sort.Strings(sysCtl) text := strings.Join(sysCtl, "") - fmt.Printf(srcTemplate, cmdLine(), goBuildTags(), plusBuildTags(), text) + fmt.Printf(srcTemplate, cmdLine(), goBuildTags(), text) } const srcTemplate = `// %s // Code generated by the command above; DO NOT EDIT. //go:build %s -// +build %s package unix |