bpo-43269: Remove redundant extern keywords (GH-24605)
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c
index 34ba29b..f6a6ef6 100644
--- a/Modules/_sqlite/connection.c
+++ b/Modules/_sqlite/connection.c
@@ -1927,7 +1927,8 @@ static PyType_Spec connection_spec = {
PyTypeObject *pysqlite_ConnectionType = NULL;
-extern int pysqlite_connection_setup_types(PyObject *module)
+int
+pysqlite_connection_setup_types(PyObject *module)
{
pysqlite_ConnectionType = (PyTypeObject *)PyType_FromModuleAndSpec(module, &connection_spec, NULL);
if (pysqlite_ConnectionType == NULL) {