Skip to content

Commit 43aea4c

Browse files
author
sjoerd
committed
Fixed up some ANSIfications.
git-svn-id: http://svn.python.org/projects/python/trunk@16334 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 1d3721c commit 43aea4c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Modules/flmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ generic_getattr(genericobject *g, char *name)
343343
}
344344

345345
static int
346-
generic_setattr(genericobject *g, char *name PyObject *v)
346+
generic_setattr(genericobject *g, char *name, PyObject *v)
347347
{
348348
int ret;
349349

Modules/fmmodule.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ static PyTypeObject Fhtype = {
179179
/* Font Manager functions */
180180

181181
static PyObject *
182-
fm_init(PyObject *self, *args)
182+
fm_init(PyObject *self, PyObject *args)
183183
{
184184
if (!PyArg_NoArgs(args))
185185
return NULL;
@@ -189,7 +189,7 @@ fm_init(PyObject *self, *args)
189189
}
190190

191191
static PyObject *
192-
fm_findfont(PyObject *self, *args)
192+
fm_findfont(PyObject *self, PyObject *args)
193193
{
194194
char *str;
195195
if (!PyArg_Parse(args, "s", &str))
@@ -198,7 +198,7 @@ fm_findfont(PyObject *self, *args)
198198
}
199199

200200
static PyObject *
201-
fm_prstr(PyObject *self, *args)
201+
fm_prstr(PyObject *self, PyObject *args)
202202
{
203203
char *str;
204204
if (!PyArg_Parse(args, "s", &str))
@@ -259,7 +259,7 @@ fm_setpath(PyObject *self, PyObject *args)
259259
}
260260

261261
static PyObject *
262-
fm_fontpath(PyObject *self, *args)
262+
fm_fontpath(PyObject *self, PyObject *args)
263263
{
264264
if (!PyArg_NoArgs(args))
265265
return NULL;

0 commit comments

Comments
 (0)