Fixed up some ANSIfications.

This commit is contained in:
Sjoerd Mullender 2000-07-12 10:43:11 +00:00
parent 42bb8b3987
commit 0ae528447f
2 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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;