summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-31 05:18:54 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-31 05:18:54 (GMT)
commit8ce159aef570c7c85a1e3c938fbb91ed4d0a6979 (patch)
tree2bbf10127ff3e9d0c3613a60bd5c448f2edab5ce /Modules/readline.c
parent562f62aa9b87121ba6086c4dee74130f003c9422 (diff)
downloadcpython-8ce159aef570c7c85a1e3c938fbb91ed4d0a6979.zip
cpython-8ce159aef570c7c85a1e3c938fbb91ed4d0a6979.tar.gz
cpython-8ce159aef570c7c85a1e3c938fbb91ed4d0a6979.tar.bz2
Peter Schneider-Kamp <nowonder@nowonder.de>:
Remove some of GCC's warning in -Wstrict-prototypes mode. This closes SourceForge patch #101342.
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c14
1 files changed, 7 insertions, 7 deletions
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