aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall/libcall_aix.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-06-13 21:32:25 -0700
committerIan Lance Taylor <iant@golang.org>2022-06-14 15:11:17 -0700
commitcf79b1117bd177d3d4c6ed24b6fa243c3628ac2d (patch)
treeb471331b7fd035d6adddf9cc8b1fb8bf738e9fc5 /libgo/go/syscall/libcall_aix.go
parent6abe341558abec40c9c44d76e7fb4fb3978e894b (diff)
downloadgcc-cf79b1117bd177d3d4c6ed24b6fa243c3628ac2d.zip
gcc-cf79b1117bd177d3d4c6ed24b6fa243c3628ac2d.tar.gz
gcc-cf79b1117bd177d3d4c6ed24b6fa243c3628ac2d.tar.bz2
syscall: gofmt
Add blank lines after //sys comments where needed, and then run gofmt on the syscall package with the new formatter. This is the libgo version of CL 407136. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/412074
Diffstat (limited to 'libgo/go/syscall/libcall_aix.go')
-rw-r--r--libgo/go/syscall/libcall_aix.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/syscall/libcall_aix.go b/libgo/go/syscall/libcall_aix.go
index 92c7f3c..bb5db6c 100644
--- a/libgo/go/syscall/libcall_aix.go
+++ b/libgo/go/syscall/libcall_aix.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build aix
// +build aix
package syscall
@@ -95,6 +96,7 @@ func PtraceDetach(pid int) (err error) { return ptrace64(_PT_DETACH, int64(pid),
//sys reboot(how int) (err error)
//__linux_reboot(how _C_int) _C_int
+
func Reboot(how int) (err error) {
return reboot(how)
}