summaryrefslogtreecommitdiff
path: root/src/os_posix/os_flock.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2012-04-26 22:59:33 +0000
committerKeith Bostic <keith@wiredtiger.com>2012-04-26 22:59:33 +0000
commitf77fc2d51a01e5bb54c392cf92584105f1567dff (patch)
tree5d9fbfd561cbb682ed06ebb102f297ce920e52c3 /src/os_posix/os_flock.c
parent9c5a59cf103f033e47595fcba8ddf63774339e76 (diff)
downloadmongo-f77fc2d51a01e5bb54c392cf92584105f1567dff.tar.gz
Replace local "ret" declarations with WT_DECL_RET.
Diffstat (limited to 'src/os_posix/os_flock.c')
-rw-r--r--src/os_posix/os_flock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_posix/os_flock.c b/src/os_posix/os_flock.c
index 8b317654105..2967719fbb6 100644
--- a/src/os_posix/os_flock.c
+++ b/src/os_posix/os_flock.c
@@ -15,7 +15,7 @@ int
__wt_bytelock(WT_FH *fhp, off_t byte, int lock)
{
struct flock fl;
- int ret;
+ WT_DECL_RET;
/*
* WiredTiger requires this function be able to acquire locks past