Browse Source

interrogatedb: Fix missing 'static' keyword

Sam Edwards 7 years ago
parent
commit
ce4985a333
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/interrogatedb/py_panda.cxx

+ 1 - 1
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,