runtime: cleanup after conversion to Go

Change-Id: I7c41cc6a5ab9fb3b0cc3812cf7e9776884658778
Reviewed-on: https://go-review.googlesource.com/4671
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Dmitry Vyukov 2015-02-12 10:18:31 +03:00
parent 01ef6dbfa5
commit 8090f868fc
4 changed files with 13 additions and 22 deletions

View file

@ -6,6 +6,11 @@ package runtime
import "unsafe"
func close(fd int32) int32
//go:noescape
func open(name *byte, mode, perm int32) int32
//go:noescape
func pread(fd int32, buf unsafe.Pointer, nbytes int32, offset int64) int32