From: Mikio Hara Date: Mon, 23 Jun 2014 05:33:33 +0000 (+0900) Subject: syscall: don't display syscall prototype lines on godoc X-Git-Tag: go1.4beta1~1239 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2ca1f7d588e67fe82f1ca375241059c61a6ded1c;p=gostls13.git syscall: don't display syscall prototype lines on godoc LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/110020050 --- diff --git a/src/pkg/syscall/syscall_bsd.go b/src/pkg/syscall/syscall_bsd.go index b042841a5b..af563910b1 100644 --- a/src/pkg/syscall/syscall_bsd.go +++ b/src/pkg/syscall/syscall_bsd.go @@ -498,6 +498,7 @@ func SysctlUint32(name string) (value uint32, err error) { } //sys utimes(path string, timeval *[2]Timeval) (err error) + func Utimes(path string, tv []Timeval) (err error) { if len(tv) != 2 { return EINVAL @@ -521,6 +522,7 @@ func UtimesNano(path string, ts []Timespec) error { } //sys futimes(fd int, timeval *[2]Timeval) (err error) + func Futimes(fd int, tv []Timeval) (err error) { if len(tv) != 2 { return EINVAL