Cleanup: remove redundant struct qualifiers

This commit is contained in:
Campbell Barton
2023-06-03 08:36:28 +10:00
parent b347346ca7
commit 74dd0ed09e
669 changed files with 3176 additions and 3528 deletions

View File

@@ -425,7 +425,7 @@ static PyObject *pyop_get_bl_options(PyObject *UNUSED(self), PyObject *value)
return pyrna_enum_bitfield_as_set(rna_enum_operator_type_flag_items, ot->flag);
}
static struct PyMethodDef bpy_ops_methods[] = {
static PyMethodDef bpy_ops_methods[] = {
{"poll", (PyCFunction)pyop_poll, METH_VARARGS, NULL},
{"call", (PyCFunction)pyop_call, METH_VARARGS, NULL},
{"as_string", (PyCFunction)pyop_as_string, METH_VARARGS, NULL},
@@ -436,7 +436,7 @@ static struct PyMethodDef bpy_ops_methods[] = {
{NULL, NULL, 0, NULL},
};
static struct PyModuleDef bpy_ops_module = {
static PyModuleDef bpy_ops_module = {
PyModuleDef_HEAD_INIT,
/*m_name*/ "_bpy.ops",
/*m_doc*/ NULL,