mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: remove unused getrlimit function
Follow CL 93655 which removed the (commented-out) usage of this function. Also remove unused constant _RLIMIT_AS and type rlimit. Change-Id: Ifb6e6b2104f4c2555269f8ced72bfcae24f5d5e9 Reviewed-on: https://go-review.googlesource.com/94775 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
9402a2bff7
commit
1b1c8b34d1
22 changed files with 0 additions and 139 deletions
|
|
@ -16,7 +16,6 @@ import "unsafe"
|
|||
//go:cgo_import_dynamic libc_exit exit "libc.so"
|
||||
//go:cgo_import_dynamic libc_fstat fstat "libc.so"
|
||||
//go:cgo_import_dynamic libc_getcontext getcontext "libc.so"
|
||||
//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
|
||||
//go:cgo_import_dynamic libc_kill kill "libc.so"
|
||||
//go:cgo_import_dynamic libc_madvise madvise "libc.so"
|
||||
//go:cgo_import_dynamic libc_malloc malloc "libc.so"
|
||||
|
|
@ -51,7 +50,6 @@ import "unsafe"
|
|||
//go:linkname libc_exit libc_exit
|
||||
//go:linkname libc_fstat libc_fstat
|
||||
//go:linkname libc_getcontext libc_getcontext
|
||||
//go:linkname libc_getrlimit libc_getrlimit
|
||||
//go:linkname libc_kill libc_kill
|
||||
//go:linkname libc_madvise libc_madvise
|
||||
//go:linkname libc_malloc libc_malloc
|
||||
|
|
@ -87,7 +85,6 @@ var (
|
|||
libc_exit,
|
||||
libc_fstat,
|
||||
libc_getcontext,
|
||||
libc_getrlimit,
|
||||
libc_kill,
|
||||
libc_madvise,
|
||||
libc_malloc,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue