summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-01 02:43:38 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-01 02:43:38 (GMT)
commitb9ce5ada37f271cd2e9ec67f86a82a166f1e1296 (patch)
tree38bf877a0c47f866a32f6cf76ea1f5b9a46ef304 /Modules
parentb92b62771eb63ac76d9cdc25dd74f8c5a4f45567 (diff)
downloadcpython-b9ce5ada37f271cd2e9ec67f86a82a166f1e1296.zip
cpython-b9ce5ada37f271cd2e9ec67f86a82a166f1e1296.tar.gz
cpython-b9ce5ada37f271cd2e9ec67f86a82a166f1e1296.tar.bz2
Add three prototypes for functions in history.h to shut up gcc -Wall.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/readline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 0148206..a797d29 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