From ce4985a333f19b6ec1e4a1f38bf0c0a75d69c466 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Wed, 2 Jan 2019 10:18:41 -0700 Subject: [PATCH] interrogatedb: Fix missing 'static' keyword --- dtool/src/interrogatedb/py_panda.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,