bpo-42064: Remove stale extern declarations in sqlite3 headers (GH-26840)

This commit is contained in:
Erlend Egeberg Aasland 2021-06-23 14:06:53 +02:00 committed by GitHub
parent e9c8f784fa
commit 019ad62afd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 24 deletions

View file

@ -98,8 +98,6 @@ typedef struct
PyObject* NotSupportedError;
} pysqlite_Connection;
extern PyTypeObject *pysqlite_ConnectionType;
int pysqlite_connection_register_cursor(pysqlite_Connection* connection, PyObject* cursor);
int pysqlite_check_thread(pysqlite_Connection* self);
int pysqlite_check_connection(pysqlite_Connection* con);

View file

@ -52,8 +52,6 @@ typedef struct
PyObject* in_weakreflist; /* List of weak references */
} pysqlite_Cursor;
extern PyTypeObject *pysqlite_CursorType;
int pysqlite_cursor_setup_types(PyObject *module);
#define UNKNOWN (-1)

View file

@ -30,8 +30,6 @@ typedef struct
PyObject_HEAD
} pysqlite_PrepareProtocol;
extern PyTypeObject *pysqlite_PrepareProtocolType;
int pysqlite_prepare_protocol_setup_types(PyObject *module);
#define UNKNOWN (-1)

View file

@ -33,8 +33,6 @@ typedef struct _Row
PyObject* description;
} pysqlite_Row;
extern PyTypeObject *pysqlite_RowType;
int pysqlite_row_setup_types(PyObject *module);
#endif

View file

@ -38,8 +38,6 @@ typedef struct
PyObject* in_weakreflist; /* List of weak references */
} pysqlite_Statement;
extern PyTypeObject *pysqlite_StatementType;
pysqlite_Statement *pysqlite_statement_create(pysqlite_Connection *connection, PyObject *sql);
int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter);