aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-12-03 22:48:32 +0000
committerdrh <drh@noemail.net>2008-12-03 22:48:32 +0000
commitc66d5b64de6e6b36540fc22f88632e50f21942a9 (patch)
tree987dfcbc231be4088e970ed9fe6d9fbb3f32b7aa /src/os_unix.c
parent715ff30e27a4305e1b3a632ef3335319d54613fb (diff)
downloadsqlite-c66d5b64de6e6b36540fc22f88632e50f21942a9.tar.gz
sqlite-c66d5b64de6e6b36540fc22f88632e50f21942a9.zip
Fix a missing forward declaration that is needed when
SQLITE_PREFER_PROXY_LOCKING is defined. (CVS 5972) FossilOrigin-Name: 24235300b3f64f0396e1016afbe31aec9ea69b62
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index df483af13..0f4bb71a8 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -43,7 +43,7 @@
** * Definitions of sqlite3_vfs objects for all locking methods
** plus implementations of sqlite3_os_init() and sqlite3_os_end().
**
-** $Id: os_unix.c,v 1.227 2008/12/03 22:32:45 drh Exp $
+** $Id: os_unix.c,v 1.228 2008/12/03 22:48:33 drh Exp $
*/
#include "sqliteInt.h"
#if SQLITE_OS_UNIX /* This file is used on unix only */
@@ -3437,6 +3437,13 @@ static int getTempname(int nBuf, char *zBuf){
return SQLITE_OK;
}
+/*
+** Routine to transform a unixFile into a proxy-locking unixFile.
+** Implementation in the proxy-lock division, but used by unixOpen()
+** if SQLITE_PREFER_PROXY_LOCKING is defined.
+*/
+static int proxyTransformUnixFile(unixFile*, const char*);
+
/*
** Open the file zPath.