diff --git a/Objects/xxobject.c b/Objects/xxobject.c index 501b955c390..c5b518f7bdd 100644 --- a/Objects/xxobject.c +++ b/Objects/xxobject.c @@ -85,7 +85,7 @@ xx_demo(self, args) return Py_None; } -static Py_MethodDef xx_methods[] = { +static PyMethodDef xx_methods[] = { {"demo", (PyCFunction)xx_demo}, {NULL, NULL} /* sentinel */ };