Commit 0ae52844 authored by Sjoerd Mullender's avatar Sjoerd Mullender

Fixed up some ANSIfications.

parent 42bb8b39
...@@ -343,7 +343,7 @@ generic_getattr(genericobject *g, char *name) ...@@ -343,7 +343,7 @@ generic_getattr(genericobject *g, char *name)
} }
static int static int
generic_setattr(genericobject *g, char *name PyObject *v) generic_setattr(genericobject *g, char *name, PyObject *v)
{ {
int ret; int ret;
......
...@@ -179,7 +179,7 @@ static PyTypeObject Fhtype = { ...@@ -179,7 +179,7 @@ static PyTypeObject Fhtype = {
/* Font Manager functions */ /* Font Manager functions */
static PyObject * static PyObject *
fm_init(PyObject *self, *args) fm_init(PyObject *self, PyObject *args)
{ {
if (!PyArg_NoArgs(args)) if (!PyArg_NoArgs(args))
return NULL; return NULL;
...@@ -189,7 +189,7 @@ fm_init(PyObject *self, *args) ...@@ -189,7 +189,7 @@ fm_init(PyObject *self, *args)
} }
static PyObject * static PyObject *
fm_findfont(PyObject *self, *args) fm_findfont(PyObject *self, PyObject *args)
{ {
char *str; char *str;
if (!PyArg_Parse(args, "s", &str)) if (!PyArg_Parse(args, "s", &str))
...@@ -198,7 +198,7 @@ fm_findfont(PyObject *self, *args) ...@@ -198,7 +198,7 @@ fm_findfont(PyObject *self, *args)
} }
static PyObject * static PyObject *
fm_prstr(PyObject *self, *args) fm_prstr(PyObject *self, PyObject *args)
{ {
char *str; char *str;
if (!PyArg_Parse(args, "s", &str)) if (!PyArg_Parse(args, "s", &str))
...@@ -259,7 +259,7 @@ fm_setpath(PyObject *self, PyObject *args) ...@@ -259,7 +259,7 @@ fm_setpath(PyObject *self, PyObject *args)
} }
static PyObject * static PyObject *
fm_fontpath(PyObject *self, *args) fm_fontpath(PyObject *self, PyObject *args)
{ {
if (!PyArg_NoArgs(args)) if (!PyArg_NoArgs(args))
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment