summaryrefslogtreecommitdiffstats
path: root/Modules/flmodule.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 23:57:55 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 23:57:55 (GMT)
commitbd4bc4e9e947617def66780efbbea4eb08990e56 (patch)
tree7130e24f3bf2919bf47ff717ac674023816369c7 /Modules/flmodule.c
parent3b6448fbae16564484a40efa7f418fba02755625 (diff)
downloadcpython-bd4bc4e9e947617def66780efbbea4eb08990e56.zip
cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.gz
cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.bz2
Even more ANSIfication: fix as many function pointers and declarations as
possible.
Diffstat (limited to 'Modules/flmodule.c')
-rw-r--r--Modules/flmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/flmodule.c b/Modules/flmodule.c
index ffb4d4d..8bfd83a 100644
--- a/Modules/flmodule.c
+++ b/Modules/flmodule.c
@@ -1672,7 +1672,7 @@ forms_set_event_call_back(PyObject *dummy, PyObject *args)
}
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 @@ forms_check_only_forms(PyObject *dummy, PyObject *args)
#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 @@ forms_file_selector(PyObject *f, PyObject *args)
static PyObject *
-forms_file_selector_func(PyObject *args, char *(*func)())
+forms_file_selector_func(PyObject *args, char *(*func)(void))
{
char *str;