1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:50:21 -07:00

runtime: fix definitions of getpid and kill on Solaris

A further attempt to fix raiseproc on Solaris.

Change-Id: I8d8000d6ccd0cd9f029ebe1f211b76ecee230cd0
Reviewed-on: https://go-review.googlesource.com/12771
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Ian Lance Taylor 2015-07-27 23:09:16 -07:00
parent d7223c6cc1
commit deaf0333df

View File

@ -52,7 +52,9 @@ import "unsafe"
//go:linkname libc_exit libc_exit
//go:linkname libc_fstat libc_fstat
//go:linkname libc_getcontext libc_getcontext
//go:linkname libc_getpid libc_getpid
//go:linkname libc_getrlimit libc_getrlimit
//go:linkname libc_kill libc_kill
//go:linkname libc_madvise libc_madvise
//go:linkname libc_malloc libc_malloc
//go:linkname libc_mmap libc_mmap
@ -87,7 +89,9 @@ var (
libc_exit,
libc_fstat,
libc_getcontext,
libc_getpid,
libc_getrlimit,
libc_kill,
libc_madvise,
libc_malloc,
libc_mmap,