Skip to content

Commit

Permalink
found a stray exported method not wrapped here
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Nov 2, 2023
1 parent cec5852 commit 44f5ec9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unix/syscall_openbsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
return
}

//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD

func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
if raceenabled {
raceReleaseMerge(unsafe.Pointer(&ioSync))
Expand Down Expand Up @@ -267,6 +265,7 @@ func Uname(uname *Utsname) error {
//sys Fstatfs(fd int, stat *Statfs_t) (err error)
//sys Fsync(fd int) (err error)
//sys Ftruncate(fd int, length int64) (err error)
//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
//sysnb Getegid() (egid int)
//sysnb Geteuid() (uid int)
//sysnb Getgid() (gid int)
Expand Down

0 comments on commit 44f5ec9

Please sign in to comment.