diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-21 18:49:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-21 18:49:58 +0000 |
commit | 1410c222604e2182f74242026fd924c717ced000 (patch) | |
tree | 16d4cd6ed67073d4e8d17f68667db246b6bf05ca /libgo/go/syscall | |
parent | b753247977fe81985ce485ab7f8a95f29f0c25a2 (diff) | |
download | gcc-1410c222604e2182f74242026fd924c717ced000.zip gcc-1410c222604e2182f74242026fd924c717ced000.tar.gz gcc-1410c222604e2182f74242026fd924c717ced000.tar.bz2 |
syscall: Additional constants, some type corrections.
From-SVN: r186655
Diffstat (limited to 'libgo/go/syscall')
-rw-r--r-- | libgo/go/syscall/libcall_linux.go | 2 | ||||
-rw-r--r-- | libgo/go/syscall/libcall_posix.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/syscall/libcall_linux.go b/libgo/go/syscall/libcall_linux.go index f5358f5..b91018a 100644 --- a/libgo/go/syscall/libcall_linux.go +++ b/libgo/go/syscall/libcall_linux.go @@ -335,7 +335,7 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i //sys Tee(rfd int, wfd int, len int, flags int) (n int64, err error) //tee(rfd int, wfd int, len Size_t, flags uint) Ssize_t -func Tgkill(tgid, tid, sig Signal) error { +func Tgkill(tgid, tid int, sig Signal) error { r1, _, errno := Syscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig)) if r1 < 0 { return errno diff --git a/libgo/go/syscall/libcall_posix.go b/libgo/go/syscall/libcall_posix.go index 9961ba8..4f25b82 100644 --- a/libgo/go/syscall/libcall_posix.go +++ b/libgo/go/syscall/libcall_posix.go @@ -268,7 +268,7 @@ func Gettimeofday(tv *Timeval) (err error) { //sys Mknod(path string, mode uint32, dev int) (err error) //mknod(path *byte, mode Mode_t, dev _dev_t) int -//sys Mount(source string, target string, fstype string, flags int, data string) (err error) +//sys Mount(source string, target string, fstype string, flags uintptr, data string) (err error) //mount(source *byte, target *byte, fstype *byte, flags _C_long, data *byte) int //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) |