diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 2000-07-12 10:43:11 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 2000-07-12 10:43:11 (GMT) |
commit | 0ae528447f5321936532b8be1a46c54f45b8b734 (patch) | |
tree | 98d5330810c6fc6a299a048d765f60a3d40eb37e | |
parent | 42bb8b3987c8be80e97d49ad9476ff1c61c7413b (diff) | |
download | cpython-0ae528447f5321936532b8be1a46c54f45b8b734.zip cpython-0ae528447f5321936532b8be1a46c54f45b8b734.tar.gz cpython-0ae528447f5321936532b8be1a46c54f45b8b734.tar.bz2 |
Fixed up some ANSIfications.
-rw-r--r-- | Modules/flmodule.c | 2 | ||||
-rw-r--r-- | Modules/fmmodule.c | 8 |
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; |