aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/syscall_aix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/syscall_aix.go')
-rw-r--r--src/runtime/syscall_aix.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/syscall_aix.go b/src/runtime/syscall_aix.go
index 79b51240e9..f294922e7d 100644
--- a/src/runtime/syscall_aix.go
+++ b/src/runtime/syscall_aix.go
@@ -126,6 +126,7 @@ func syscall_chroot1(path uintptr) (err uintptr) {
}
// like close, but must not split stack, for fork.
+//
//go:linkname syscall_close syscall.close
//go:nosplit
func syscall_close(fd int32) int32 {
@@ -148,6 +149,7 @@ func syscall_execve(path, argv, envp uintptr) (err uintptr) {
}
// like exit, but must not split stack, for fork.
+//
//go:linkname syscall_exit syscall.exit
//go:nosplit
func syscall_exit(code uintptr) {