code cleanup: some structs were declaring data when only typedef's were intended, make local vars and functions static.

This commit is contained in:
2013-08-07 03:44:05 +00:00
parent f97a4bd254
commit 4f29aeeff2
10 changed files with 16 additions and 14 deletions

View File

@@ -50,7 +50,7 @@
/* bmesh operator 'bmesh.ops.*' callable types
* ******************************************* */
PyTypeObject bmesh_op_Type;
static PyTypeObject bmesh_op_Type;
static PyObject *bpy_bmesh_op_CreatePyObject(const char *opname)
{
@@ -140,7 +140,7 @@ static PyGetSetDef bpy_bmesh_op_getseters[] = {
/* Types
* ===== */
PyTypeObject bmesh_op_Type = {
static PyTypeObject bmesh_op_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
"BMeshOpFunc", /* tp_name */
sizeof(BPy_BMeshOpFunc), /* tp_basicsize */