diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/arraymodule.c | 4 | ||||
-rw-r--r-- | Modules/readline.c | 14 | ||||
-rw-r--r-- | Modules/selectmodule.c | 2 |
3 files changed, 9 insertions, 11 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 6648c9c..530b214 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -788,9 +788,7 @@ static char pop_doc [] = Return the i-th element and delete it from the array. i defaults to -1."; static PyObject * -array_extend(self, args) - arrayobject *self; - PyObject *args; +array_extend(arrayobject *self, PyObject *args) { int size; PyObject *bb; diff --git a/Modules/readline.c b/Modules/readline.c index 4f8969b..0148206 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -27,13 +27,13 @@ #else #include <readline/readline.h> /* You may need to add an -I option to Setup */ -extern int rl_parse_and_bind(); -extern int rl_read_init_file(); -extern int rl_insert_text(); -extern int rl_bind_key(); -extern int rl_bind_key_in_map(); -extern int rl_initialize(); -extern int add_history(); +extern int rl_parse_and_bind(char *); +extern int rl_read_init_file(char *); +extern int rl_insert_text(char *); +extern int rl_bind_key(int, Function *); +extern int rl_bind_key_in_map(int, Function *, Keymap); +extern int rl_initialize(void); +extern int add_history(char *); extern Function *rl_event_hook; #endif diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 1c747a5..1c1f3d8 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -508,7 +508,7 @@ static PyMethodDef poll_methods[] = { }; static pollObject * -newPollObject() +newPollObject(void) { pollObject *self; self = PyObject_New(pollObject, &poll_Type); |