Mercurial > cpython-lru_cache-weakref
diff Modules/flmodule.c @ 13667:a6c7bfdd6777 legacy-trunk
Even more ANSIfication: fix as many function pointers and declarations as
possible.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Sat, 22 Jul 2000 23:57:55 +0000 |
| parents | 8a063423e0b7 |
| children | 6f6f965c5e2d |
line wrap: on
line diff
--- a/Modules/flmodule.c Sat Jul 22 23:56:07 2000 +0000 +++ b/Modules/flmodule.c Sat Jul 22 23:57:55 2000 +0000 @@ -1672,7 +1672,7 @@ } static PyObject * -forms_do_or_check_forms(PyObject *dummy, PyObject *args, FL_OBJECT *(*func)()) +forms_do_or_check_forms(PyObject *dummy, PyObject *args, FL_OBJECT *(*func)(void)) { FL_OBJECT *generic; genericobject *g; @@ -1751,7 +1751,7 @@ #ifdef UNUSED static PyObject * -fl_call(void (*func)(), PyObject *args) +fl_call(void (*func)(void), PyObject *args) { if (!PyArg_NoArgs(args)) return NULL; @@ -2058,7 +2058,7 @@ static PyObject * -forms_file_selector_func(PyObject *args, char *(*func)()) +forms_file_selector_func(PyObject *args, char *(*func)(void)) { char *str;
