diff options
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/func.c b/src/func.c index b31f330dd..22921ba32 100644 --- a/src/func.c +++ b/src/func.c @@ -16,7 +16,7 @@ ** sqliteRegisterBuildinFunctions() found at the bottom of the file. ** All other code has file scope. ** -** $Id: func.c,v 1.82 2004/09/02 15:53:57 drh Exp $ +** $Id: func.c,v 1.83 2004/09/06 17:24:13 drh Exp $ */ #include <ctype.h> #include <math.h> @@ -268,7 +268,7 @@ static void last_insert_rowid( int arg, sqlite3_value **argv ){ - sqlite *db = sqlite3_user_data(context); + sqlite3 *db = sqlite3_user_data(context); sqlite3_result_int64(context, sqlite3_last_insert_rowid(db)); } @@ -281,7 +281,7 @@ static void changes( int arg, sqlite3_value **argv ){ - sqlite *db = sqlite3_user_data(context); + sqlite3 *db = sqlite3_user_data(context); sqlite3_result_int(context, sqlite3_changes(db)); } @@ -294,7 +294,7 @@ static void total_changes( int arg, sqlite3_value **argv ){ - sqlite *db = sqlite3_user_data(context); + sqlite3 *db = sqlite3_user_data(context); sqlite3_result_int(context, sqlite3_total_changes(db)); } @@ -690,7 +690,7 @@ static void test_destructor( ){ char *zVal; int len; - sqlite *db = sqlite3_user_data(pCtx); + sqlite3 *db = sqlite3_user_data(pCtx); test_destructor_count_var++; assert( nArg==1 ); @@ -917,7 +917,7 @@ static void minMaxFinalize(sqlite3_context *context){ ** functions. This should be the only routine in this file with ** external linkage. */ -void sqlite3RegisterBuiltinFunctions(sqlite *db){ +void sqlite3RegisterBuiltinFunctions(sqlite3 *db){ static struct { char *zName; signed char nArg; |