diff options
author | Shawn Walker-Salas <shawn.walker@oracle.com> | 2015-07-30 13:32:55 -0700 |
---|---|---|
committer | Aram Hăvărneanu <aram@mgk.ro> | 2015-08-21 11:39:24 +0000 |
commit | d9e3d16796927ae2c5721cdff855ddb07a903d78 (patch) | |
tree | eb6fcabebc46b56538d21b75d99e069b54fb9cf2 /src/runtime/syscall2_solaris.go | |
parent | ae4dc8facb0e22508c4fbd27fe380e1ad86100e7 (diff) | |
download | go-d9e3d16796927ae2c5721cdff855ddb07a903d78.tar.gz go-d9e3d16796927ae2c5721cdff855ddb07a903d78.zip |
runtime, syscall: remove unused bits from Solaris implementation
CL 9184 changed the runtime and syscall packages to link Solaris binaries
directly instead of using dlopen/dlsym but did not remove the unused (and
now broken) references to dlopen, dlclose, and dlsym.
Fixes #11923
Change-Id: I36345ce5e7b371bd601b7d48af000f4ccacd62c0
Reviewed-on: https://go-review.googlesource.com/13410
Reviewed-by: Aram Hăvărneanu <aram@mgk.ro>
Diffstat (limited to 'src/runtime/syscall2_solaris.go')
-rw-r--r-- | src/runtime/syscall2_solaris.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/syscall2_solaris.go b/src/runtime/syscall2_solaris.go index df72996da0..e19035add9 100644 --- a/src/runtime/syscall2_solaris.go +++ b/src/runtime/syscall2_solaris.go @@ -9,9 +9,6 @@ import _ "unsafe" // for go:linkname //go:cgo_import_dynamic libc_chdir chdir "libc.so" //go:cgo_import_dynamic libc_chroot chroot "libc.so" //go:cgo_import_dynamic libc_close close "libc.so" -//go:cgo_import_dynamic libc_dlclose dlclose "libc.so" -//go:cgo_import_dynamic libc_dlopen dlopen "libc.so" -//go:cgo_import_dynamic libc_dlsym dlsym "libc.so" //go:cgo_import_dynamic libc_execve execve "libc.so" //go:cgo_import_dynamic libc_fcntl fcntl "libc.so" //go:cgo_import_dynamic libc_gethostname gethostname "libc.so" @@ -30,9 +27,6 @@ import _ "unsafe" // for go:linkname //go:linkname libc_chdir libc_chdir //go:linkname libc_chroot libc_chroot //go:linkname libc_close libc_close -//go:linkname libc_dlclose libc_dlclose -//go:linkname libc_dlopen libc_dlopen -//go:linkname libc_dlsym libc_dlsym //go:linkname libc_execve libc_execve //go:linkname libc_fcntl libc_fcntl //go:linkname libc_gethostname libc_gethostname |