mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: clean up libc_* definitions on Solaris
All functions defined in syscall2_solaris.go have the respective libc_* var in syscall_solaris.go, except for libc_close. Move it from os3_solaris.go Remove unused libc_fstat. Order go:cgo_import_dynamic and go:linkname lists in syscall2_solaris.go alphabetically. Change-Id: I9f12fa473cf1ae351448ac45597c82a67d799c31 Reviewed-on: https://go-review.googlesource.com/97736 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
4338518da8
commit
c7c01efd96
3 changed files with 3 additions and 8 deletions
|
|
@ -9,6 +9,7 @@ import "unsafe"
|
|||
var (
|
||||
libc_chdir,
|
||||
libc_chroot,
|
||||
libc_close,
|
||||
libc_execve,
|
||||
libc_fcntl,
|
||||
libc_forkx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue