summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-06-23 12:06:53 (GMT)
committerGitHub <noreply@github.com>2021-06-23 12:06:53 (GMT)
commit019ad62afd20e80c74f879aa716e339b992a0bb9 (patch)
tree3495fd2f3864775da2e47073fbeef8df2d7e85c2 /Modules/_sqlite
parente9c8f784fa13ea3a51df3b72a498a3896ec9e768 (diff)
downloadcpython-019ad62afd20e80c74f879aa716e339b992a0bb9.zip
cpython-019ad62afd20e80c74f879aa716e339b992a0bb9.tar.gz
cpython-019ad62afd20e80c74f879aa716e339b992a0bb9.tar.bz2
bpo-42064: Remove stale extern declarations in `sqlite3` headers (GH-26840)
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r--Modules/_sqlite/connection.h2
-rw-r--r--Modules/_sqlite/cursor.h2
-rw-r--r--Modules/_sqlite/prepare_protocol.h2
-rw-r--r--Modules/_sqlite/row.h2
-rw-r--r--Modules/_sqlite/statement.h2
5 files changed, 0 insertions, 10 deletions
diff --git a/Modules/_sqlite/connection.h b/Modules/_sqlite/connection.h
index 88c58b3..5e7e7e5 100644
--- a/Modules/_sqlite/connection.h
+++ b/Modules/_sqlite/connection.h
@@ -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);
diff --git a/Modules/_sqlite/cursor.h b/Modules/_sqlite/cursor.h
index b26b288..9a5e9ee 100644
--- a/Modules/_sqlite/cursor.h
+++ b/Modules/_sqlite/cursor.h
@@ -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)
diff --git a/Modules/_sqlite/prepare_protocol.h b/Modules/_sqlite/prepare_protocol.h
index 5939613..f24cef5 100644
--- a/Modules/_sqlite/prepare_protocol.h
+++ b/Modules/_sqlite/prepare_protocol.h
@@ -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)
diff --git a/Modules/_sqlite/row.h b/Modules/_sqlite/row.h
index 2dac41e..b519098 100644
--- a/Modules/_sqlite/row.h
+++ b/Modules/_sqlite/row.h
@@ -33,8 +33,6 @@ typedef struct _Row
PyObject* description;
} pysqlite_Row;
-extern PyTypeObject *pysqlite_RowType;
-
int pysqlite_row_setup_types(PyObject *module);
#endif
diff --git a/Modules/_sqlite/statement.h b/Modules/_sqlite/statement.h
index b06f615..70801cc 100644
--- a/Modules/_sqlite/statement.h
+++ b/Modules/_sqlite/statement.h
@@ -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);