summaryrefslogtreecommitdiffstats
path: root/Modules/glmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/glmodule.c')
-rw-r--r--Modules/glmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/glmodule.c b/Modules/glmodule.c
index bb14c65..bed80dc 100644
--- a/Modules/glmodule.c
+++ b/Modules/glmodule.c
@@ -107,7 +107,7 @@ gl_varray(self, args)
PyObject *v, *w=NULL;
int i, n, width;
double vec[3];
- PyObject * (*getitem) Py_FPROTO((PyObject *, int));
+ PyObject * (*getitem)(PyObject *, int);
if (!PyArg_GetObject(args, 1, 0, &v))
return NULL;
@@ -208,7 +208,7 @@ gen_nvarray(args, inorm)
PyObject *v, *w, *wnorm, *wvec;
int i, n;
float norm[3], vec[3];
- PyObject * (*getitem) Py_FPROTO((PyObject *, int));
+ PyObject * (*getitem)(PyObject *, int);
if (!PyArg_GetObject(args, 1, 0, &v))
return NULL;