summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/xxobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/xxobject.c b/Objects/xxobject.c
index 501b955..c5b518f 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 */
};