aboutsummaryrefslogtreecommitdiff
path: root/src/test_thread.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2009-03-27 12:32:54 +0000
committerdrh <drh@noemail.net>2009-03-27 12:32:54 +0000
commit69910da997fa3973ef71aa1d94a93494da800fb8 (patch)
tree53a4a7df97820990743a122ebf6909dcaced0c6b /src/test_thread.c
parent62e5a81a5a92cec6498e2e85b9e8a16c4ca66535 (diff)
downloadsqlite-69910da997fa3973ef71aa1d94a93494da800fb8.tar.gz
sqlite-69910da997fa3973ef71aa1d94a93494da800fb8.zip
Fix some compiler warnings in test code. (CVS 6392)
FossilOrigin-Name: a43ecc9cb91ea8693e0fcce12c1bb5c5e4baf434
Diffstat (limited to 'src/test_thread.c')
-rw-r--r--src/test_thread.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test_thread.c b/src/test_thread.c
index 2507e5f55..fc372a292 100644
--- a/src/test_thread.c
+++ b/src/test_thread.c
@@ -14,7 +14,7 @@
** test that sqlite3 database handles may be concurrently accessed by
** multiple threads. Right now this only works on unix.
**
-** $Id: test_thread.c,v 1.14 2009/03/24 18:42:16 drh Exp $
+** $Id: test_thread.c,v 1.15 2009/03/27 12:32:56 drh Exp $
*/
#include "sqliteInt.h"
@@ -55,8 +55,10 @@ struct EvalEvent {
static Tcl_ObjCmdProc sqlthread_proc;
static Tcl_ObjCmdProc clock_seconds_proc;
+#if defined(SQLITE_OS_UNIX) && defined(SQLITE_ENABLE_UNLOCK_NOTIFY)
static Tcl_ObjCmdProc blocking_step_proc;
static Tcl_ObjCmdProc blocking_prepare_v2_proc;
+#endif
int Sqlitetest1_Init(Tcl_Interp *);
/* Functions from test1.c */
@@ -599,7 +601,7 @@ static int blocking_prepare_v2_proc(
return TCL_OK;
}
-#endif
+#endif /* SQLITE_OS_UNIX && SQLITE_ENABLE_UNLOCK_NOTIFY */
/*
** End of implementation of [sqlite3_blocking_step].
************************************************************************/