syscall: don't display syscall prototype lines on godoc

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/110020050
This commit is contained in:
Mikio Hara 2014-06-23 14:33:33 +09:00
parent 9cddb48643
commit 2ca1f7d588
1 changed files with 2 additions and 0 deletions

View File

@ -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