bpo-43269: Remove redundant extern keywords (GH-24605)

This commit is contained in:
Erlend Egeberg Aasland 2021-02-21 11:07:49 +01:00 • committed by GitHub
parent 4cf7bb8e22
commit 38b6c2acd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 6 deletions

View file

@ -55,7 +55,8 @@ static PyType_Spec type_spec = {
PyTypeObject *pysqlite_PrepareProtocolType = NULL;
extern int pysqlite_prepare_protocol_setup_types(PyObject *module)
int
pysqlite_prepare_protocol_setup_types(PyObject *module)
{
pysqlite_PrepareProtocolType = (PyTypeObject *)PyType_FromModuleAndSpec(module, &type_spec, NULL);
if (pysqlite_PrepareProtocolType == NULL) {