summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/flmodule.c2
-rw-r--r--Modules/fmmodule.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/Modules/flmodule.c b/Modules/flmodule.c
index 56a0fe6..5b88be5 100644
--- a/Modules/flmodule.c
+++ b/Modules/flmodule.c
@@ -343,7 +343,7 @@ generic_getattr(genericobject *g, char *name)
}
static int
-generic_setattr(genericobject *g, char *name PyObject *v)
+generic_setattr(genericobject *g, char *name, PyObject *v)
{
int ret;
diff --git a/Modules/fmmodule.c b/Modules/fmmodule.c
index db3fd03..18c1ace 100644
--- a/Modules/fmmodule.c
+++ b/Modules/fmmodule.c
@@ -179,7 +179,7 @@ static PyTypeObject Fhtype = {
/* Font Manager functions */
static PyObject *
-fm_init(PyObject *self, *args)
+fm_init(PyObject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
return NULL;
@@ -189,7 +189,7 @@ fm_init(PyObject *self, *args)
}
static PyObject *
-fm_findfont(PyObject *self, *args)
+fm_findfont(PyObject *self, PyObject *args)
{
char *str;
if (!PyArg_Parse(args, "s", &str))
@@ -198,7 +198,7 @@ fm_findfont(PyObject *self, *args)
}
static PyObject *
-fm_prstr(PyObject *self, *args)
+fm_prstr(PyObject *self, PyObject *args)
{
char *str;
if (!PyArg_Parse(args, "s", &str))
@@ -259,7 +259,7 @@ fm_setpath(PyObject *self, PyObject *args)
}
static PyObject *
-fm_fontpath(PyObject *self, *args)
+fm_fontpath(PyObject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
return NULL;