1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-24 09:53:10 +03:00

Convert many constants to have type "const". (CVS 2006)

FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
This commit is contained in:
drh
2004-10-06 15:41:16 +00:00
parent b327f77358
commit 5719628afb
16 changed files with 65 additions and 64 deletions

View File

@@ -16,7 +16,7 @@
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
** All other code has file scope.
**
** $Id: func.c,v 1.84 2004/09/13 13:13:19 drh Exp $
** $Id: func.c,v 1.85 2004/10/06 15:41:17 drh Exp $
*/
#include <ctype.h>
#include <math.h>
@@ -918,7 +918,7 @@ static void minMaxFinalize(sqlite3_context *context){
** external linkage.
*/
void sqlite3RegisterBuiltinFunctions(sqlite3 *db){
static struct {
static const struct {
char *zName;
signed char nArg;
u8 argType; /* 0: none. 1: db 2: (-1) */
@@ -962,7 +962,7 @@ void sqlite3RegisterBuiltinFunctions(sqlite3 *db){
{ "test_auxdata", -1, 0, SQLITE_UTF8, 0, test_auxdata},
#endif
};
static struct {
static const struct {
char *zName;
signed char nArg;
u8 argType;