summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>2000-07-12 10:43:11 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>2000-07-12 10:43:11 (GMT)
commit0ae528447f5321936532b8be1a46c54f45b8b734 (patch)
tree98d5330810c6fc6a299a048d765f60a3d40eb37e
parent42bb8b3987c8be80e97d49ad9476ff1c61c7413b (diff)
downloadcpython-0ae528447f5321936532b8be1a46c54f45b8b734.zip
cpython-0ae528447f5321936532b8be1a46c54f45b8b734.tar.gz
cpython-0ae528447f5321936532b8be1a46c54f45b8b734.tar.bz2
Fixed up some ANSIfications.
-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;