/ Check-in [fd184e5a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove a duplicate typedef from loadext.c (remaining copy is in sqlite3ext.h).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:fd184e5a8f4577aa9a817eb55e771d8d1021b946
User & Date: dan 2016-08-01 16:57:30
Context
2016-08-01
17:06
Fix other harmless compiler warnings. check-in: 90d2c490 user: drh tags: trunk
16:57
Remove a duplicate typedef from loadext.c (remaining copy is in sqlite3ext.h). check-in: fd184e5a user: dan tags: trunk
16:50
Add an extra compiler switch to loadext.test to ensure that it picks up the correct version of sqlite3.h when building a test extension. check-in: e57fa6af user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/loadext.c.

    17     17     #define SQLITE_CORE 1  /* Disable the API redefinition in sqlite3ext.h */
    18     18   #endif
    19     19   #include "sqlite3ext.h"
    20     20   #include "sqliteInt.h"
    21     21   #include <string.h>
    22     22   
    23     23   #ifndef SQLITE_OMIT_LOAD_EXTENSION
    24         -/*
    25         -** This is the function signature used for all extension entry points.
    26         -*/
    27         -typedef int (*sqlite3_loadext_entry)(
    28         -  sqlite3 *db,                       /* Handle to the database. */
    29         -  char **pzErrMsg,                   /* Used to set error string on failure. */
    30         -  const sqlite3_api_routines *pThunk /* Extension API function pointers. */
    31         -);
    32         -
    33     24   /*
    34     25   ** Some API routines are omitted when various features are
    35     26   ** excluded from a build of SQLite.  Substitute a NULL pointer
    36     27   ** for any missing APIs.
    37     28   */
    38     29   #ifndef SQLITE_ENABLE_COLUMN_METADATA
    39     30   # define sqlite3_column_database_name   0