summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-01 02:43:38 +0000
committerGuido van Rossum <guido@python.org>2000-09-01 02:43:38 +0000
commit2574a80b93eb75458e56041e230c90ee15009611 (patch)
treec06e186c6747683fc0b5497c7b1111e1ef2a2293
parentff124d3cebac9db5e028abc79d032b7116c83e90 (diff)
downloadcpython-2574a80b93eb75458e56041e230c90ee15009611.tar.gz
Add three prototypes for functions in history.h to shut up gcc -Wall.
-rw-r--r--Modules/readline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 01482062f2..a797d2951d 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -34,6 +34,9 @@ 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 int read_history(char *);
+extern int write_history(char *);
+extern int history_truncate_file(char *, int);
extern Function *rl_event_hook;
#endif