make DirEntryType and ScandirIteratorType static (closes #23918)

This commit is contained in:
Benjamin Peterson 2015-04-12 17:56:34 -04:00
parent f737703671
commit 5646de47e1
1 changed files with 2 additions and 2 deletions

View File

@ -11692,7 +11692,7 @@ static PyMethodDef DirEntry_methods[] = {
{NULL}
};
PyTypeObject DirEntryType = {
static PyTypeObject DirEntryType = {
PyVarObject_HEAD_INIT(NULL, 0)
MODNAME ".DirEntry", /* tp_name */
sizeof(DirEntry), /* tp_basicsize */
@ -12024,7 +12024,7 @@ ScandirIterator_dealloc(ScandirIterator *iterator)
Py_TYPE(iterator)->tp_free((PyObject *)iterator);
}
PyTypeObject ScandirIteratorType = {
static PyTypeObject ScandirIteratorType = {
PyVarObject_HEAD_INIT(NULL, 0)
MODNAME ".ScandirIterator", /* tp_name */
sizeof(ScandirIterator), /* tp_basicsize */