1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:34:42 -07:00

syscall: follow convention for generated code comment

Follow the convention (https://golang.org/s/generatedcode) for generated
code as if we would regenerate them using mkall.sh. This also drops the
superfluous //go:build tags which are already implied by the file names.

Change-Id: Ic97c6ba9d707d347f06a7d6c1dd07b556d82c882
Reviewed-on: https://go-review.googlesource.com/c/go/+/611115
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Tobias Klauser 2024-09-05 14:02:38 +02:00 committed by Gopher Robot
parent 464aae706b
commit 807e01db48
77 changed files with 69 additions and 199 deletions

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build amd64 && darwin
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build arm64 && darwin
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build amd64 && dragonfly
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m32
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m32 _const.go
//go:build 386 && freebsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build amd64 && freebsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- _const.go
//go:build arm && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
//go:build freebsd && arm64
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go

View File

@ -1,8 +1,6 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
//go:build freebsd && riscv64
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m32
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m32 _const.go
//go:build 386 && linux
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build amd64 && linux
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- _const.go
//go:build arm && linux
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- _const.go
//go:build arm64 && linux
package syscall
const (

View File

@ -1,7 +1,7 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- _const.go
package syscall

View File

@ -1,7 +1,7 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs _const.go
package syscall

View File

@ -1,7 +1,7 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs _const.go
package syscall

View File

@ -1,7 +1,7 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- _const.go
package syscall

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build ppc64 && linux
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build ppc64le && linux
package syscall
const (

View File

@ -1,7 +1,7 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- _const.go
package syscall

View File

@ -1,7 +1,7 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
package syscall

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m32
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m32 _const.go
//go:build 386 && netbsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build amd64 && netbsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -marm
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -marm _const.go
//go:build arm && netbsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build arm64 && netbsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m32
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m32 _const.go
//go:build 386 && openbsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build amd64 && openbsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- _const.go
//go:build arm && openbsd
package syscall
const (

View File

@ -1,11 +1,9 @@
// mkerrors.sh -m64
// Code generated by the command above; DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
//go:build amd64 && solaris
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_darwin.pl /usr/include/sys/syscall.h
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && darwin
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_darwin.pl /usr/include/sys/syscall.h
// Code generated by the command above; DO NOT EDIT.
//go:build arm64 && darwin
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_dragonfly.pl
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && dragonfly
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_freebsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build 386 && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_freebsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_freebsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build arm && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_freebsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build arm64 && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_freebsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build riscv64 && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_linux.pl /usr/include/asm/unistd_32.h
// Code generated by the command above; DO NOT EDIT.
//go:build 386 && linux
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_linux.pl /usr/include/asm/unistd_64.h
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && linux
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_linux.pl
// Code generated by the command above; DO NOT EDIT.
//go:build arm && linux
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_linux.pl /usr/include/asm-generic/unistd.h
// Code generated by the command above; DO NOT EDIT.
//go:build arm64 && linux
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_linux.pl /usr/include/asm/unistd.h
// Code generated by the command above; DO NOT EDIT.
//go:build ppc64 && linux
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_linux.pl /usr/include/powerpc64le-linux-gnu/asm/unistd.h
// Code generated by the command above; DO NOT EDIT.
//go:build ppc64le && linux
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_netbsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build 386 && netbsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_netbsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && netbsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_netbsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build arm && netbsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_netbsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build arm64 && netbsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_openbsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build 386 && openbsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_openbsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && openbsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// mksysnum_openbsd.pl
// Code generated by the command above; DO NOT EDIT.
//go:build arm && openbsd
package syscall
const (

View File

@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build amd64 && solaris
package syscall
// TODO(aram): remove these before Go 1.3.

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_darwin.go
//go:build amd64 && darwin
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_darwin.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_darwin.go
//go:build arm64 && darwin
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_darwin.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_dragonfly.go
//go:build amd64 && dragonfly
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_dragonfly.go | go run mkpost.go
package syscall

View File

@ -1,8 +1,6 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_freebsd.go | go run mkpost.go
//go:build 386 && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_freebsd.go | go run mkpost.go
//go:build amd64 && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -fsigned-char types_freebsd.go
//go:build arm && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_freebsd.go | go run mkpost.go
//go:build arm64 && freebsd
package syscall
const (

View File

@ -1,8 +1,6 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_freebsd.go | go run mkpost.go
//go:build riscv64 && freebsd
package syscall
const (

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
//go:build 386 && linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
//go:build amd64 && linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
//go:build arm && linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -fsigned-char types_linux.go
//go:build arm64 && linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,5 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,5 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,5 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,5 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
//go:build ppc64 && linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
//go:build ppc64le && linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,5 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,4 +1,4 @@
// Created by cgo -godefs - DO NOT EDIT
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_linux.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_netbsd.go
//go:build 386 && netbsd
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_netbsd.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_netbsd.go
//go:build amd64 && netbsd
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_netbsd.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_netbsd.go
//go:build arm && netbsd
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_netbsd.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_netbsd.go
//go:build arm64 && netbsd
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_netbsd.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_openbsd.go
//go:build 386 && openbsd
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_openbsd.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_openbsd.go
//go:build amd64 && openbsd
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_openbsd.go | go run mkpost.go
package syscall

View File

@ -1,7 +1,5 @@
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_solaris.go
//go:build amd64 && solaris
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs types_solaris.go | go run mkpost.go
package syscall