diff --git a/dtool/src/interrogatedb/py_panda.cxx b/dtool/src/interrogatedb/py_panda.cxx index 6ebfff5b4b..5d17d8851f 100644 --- a/dtool/src/interrogatedb/py_panda.cxx +++ b/dtool/src/interrogatedb/py_panda.cxx @@ -289,7 +289,7 @@ PyObject *_Dtool_Return(PyObject *value) { /** * This function converts an int value to the appropriate enum instance. */ -PyObject *Dtool_EnumType_New(PyTypeObject *subtype, PyObject *args, PyObject *kwds) { +static PyObject *Dtool_EnumType_New(PyTypeObject *subtype, PyObject *args, PyObject *kwds) { PyObject *arg; if (!Dtool_ExtractArg(&arg, args, kwds, "value")) { return PyErr_Format(PyExc_TypeError,