aboutsummaryrefslogtreecommitdiff
path: root/src/loadext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loadext.c')
-rw-r--r--src/loadext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loadext.c b/src/loadext.c
index c3d91eed3..163141bf7 100644
--- a/src/loadext.c
+++ b/src/loadext.c
@@ -676,7 +676,7 @@ static SQLITE_WSD struct sqlite3AutoExtList {
** loaded by every new database connection.
*/
int sqlite3_auto_extension(
- void (*xInit)(sqlite3 *, char **, const sqlite3_api_routines *)
+ int (*xInit)(sqlite3 *, char **, const sqlite3_api_routines *)
){
int rc = SQLITE_OK;
#ifndef SQLITE_OMIT_AUTOINIT
@@ -723,7 +723,7 @@ int sqlite3_auto_extension(
** was not on the list.
*/
int sqlite3_cancel_auto_extension(
- void (*xInit)(sqlite3 *, char **, const sqlite3_api_routines *)
+ int (*xInit)(sqlite3 *, char **, const sqlite3_api_routines *)
){
#if SQLITE_THREADSAFE
sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER);