diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-11-06 13:20:48 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-11-06 13:20:48 -0700 |
commit | 81db89446cb805bc352f803151f47fea849241e2 (patch) | |
tree | aede0bbe67e2faf8c52786b2c62c8cba17764343 /bolt_openbsd.go | |
parent | Merge pull request #451 from Charlesworth/master (diff) | |
parent | update WriteTo() docs (diff) | |
download | dedo-81db89446cb805bc352f803151f47fea849241e2.tar.gz dedo-81db89446cb805bc352f803151f47fea849241e2.tar.xz |
Merge branch 'xiang90-tx_write'
Diffstat (limited to 'bolt_openbsd.go')
-rw-r--r-- | bolt_openbsd.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bolt_openbsd.go b/bolt_openbsd.go index 7c1bef1..7058c3d 100644 --- a/bolt_openbsd.go +++ b/bolt_openbsd.go @@ -11,8 +11,6 @@ const ( msInvalidate // invalidate cached data ) -var odirect int - func msync(db *DB) error { _, _, errno := syscall.Syscall(syscall.SYS_MSYNC, uintptr(unsafe.Pointer(db.data)), uintptr(db.datasz), msInvalidate) if errno != 0 { |