aboutsummaryrefslogtreecommitdiff
path: root/src/test_devsym.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-12-09 01:32:03 +0000
committerdrh <drh@noemail.net>2008-12-09 01:32:03 +0000
commitec1724e8884e202e5034f30f87a697918e4d637c (patch)
treef558321adba3dadf497017e3a04c86e806fa9688 /src/test_devsym.c
parentb3190c1501420f55fc97977489ebdfb8cf315286 (diff)
downloadsqlite-ec1724e8884e202e5034f30f87a697918e4d637c.tar.gz
sqlite-ec1724e8884e202e5034f30f87a697918e4d637c.zip
Fix compiler warnings in where.c and in the TCL test harness. (CVS 5994)
FossilOrigin-Name: 680755dbf01e20569b87068b1515b144903c566e
Diffstat (limited to 'src/test_devsym.c')
-rw-r--r--src/test_devsym.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test_devsym.c b/src/test_devsym.c
index 0e2673a42..d428e4dc6 100644
--- a/src/test_devsym.c
+++ b/src/test_devsym.c
@@ -14,7 +14,7 @@
** different device types (by overriding the return values of the
** xDeviceCharacteristics() and xSectorSize() methods).
**
-** $Id: test_devsym.c,v 1.8 2008/09/12 10:22:40 danielk1977 Exp $
+** $Id: test_devsym.c,v 1.9 2008/12/09 01:32:03 drh Exp $
*/
#if SQLITE_TEST /* This file is used for testing only */
@@ -63,7 +63,7 @@ static int devsymFullPathname(sqlite3_vfs*, const char *zName, int, char *zOut);
#ifndef SQLITE_OMIT_LOAD_EXTENSION
static void *devsymDlOpen(sqlite3_vfs*, const char *zFilename);
static void devsymDlError(sqlite3_vfs*, int nByte, char *zErrMsg);
-static void *devsymDlSym(sqlite3_vfs*,void*, const char *zSymbol);
+static void (*devsymDlSym(sqlite3_vfs*,void*, const char *zSymbol))(void);
static void devsymDlClose(sqlite3_vfs*, void*);
#endif /* SQLITE_OMIT_LOAD_EXTENSION */
static int devsymRandomness(sqlite3_vfs*, int nByte, char *zOut);
@@ -300,8 +300,8 @@ static void devsymDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){
/*
** Return a pointer to the symbol zSymbol in the dynamic library pHandle.
*/
-static void *devsymDlSym(sqlite3_vfs *pVfs, void *pHandle, const char *zSymbol){
- return sqlite3OsDlSym(g.pVfs, pHandle, zSymbol);
+static void (*devsymDlSym(sqlite3_vfs *pVfs, void *p, const char *zSym))(void){
+ return sqlite3OsDlSym(g.pVfs, p, zSym);
}
/*