aboutsummaryrefslogtreecommitdiff
path: root/bolt_openbsd.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-11-06 13:20:48 -0700
committerBen Johnson <benbjohnson@yahoo.com>2015-11-06 13:20:48 -0700
commit81db89446cb805bc352f803151f47fea849241e2 (patch)
treeaede0bbe67e2faf8c52786b2c62c8cba17764343 /bolt_openbsd.go
parentMerge pull request #451 from Charlesworth/master (diff)
parentupdate WriteTo() docs (diff)
downloaddedo-81db89446cb805bc352f803151f47fea849241e2.tar.gz
dedo-81db89446cb805bc352f803151f47fea849241e2.tar.xz
Merge branch 'xiang90-tx_write'
Diffstat (limited to 'bolt_openbsd.go')
-rw-r--r--bolt_openbsd.go2
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 {