Commit 8ba5545b 8ba5545be01bf69d54386719aa01e6383680565c by Sergey Poznyakoff

(ml_readline, readline): Removed const from the declaration.

1 parent 9712fe1a
......@@ -318,7 +318,7 @@ extern int ml_got_interrupt __P ((void));
extern void ml_clear_interrupt __P ((void));
extern void ml_readline_init __P ((void));
extern int ml_reread __P ((const char *prompt, char **text));
extern char *ml_readline __P((const char *prompt));
extern char *ml_readline __P((char *prompt));
extern char *alias_expand __P ((char *name));
extern void alias_destroy __P ((char *name));
......@@ -335,7 +335,7 @@ char *compose_header_get __P((compose_env_t *env, char *name,
void compose_destroy __P((compose_env_t *env));
#ifndef HAVE_READLINE_READLINE_H
extern char *readline __P ((const char *prompt));
extern char *readline __P ((char *prompt));
#endif
#ifndef _PATH_SENDMAIL
......
......@@ -169,7 +169,7 @@ ml_readline_internal ()
}
char *
ml_readline (const char *prompt)
ml_readline (char *prompt)
{
if (interactive)
return readline (prompt);
......@@ -529,7 +529,7 @@ ml_reread (const char *prompt, char **text)
}
char *
readline (const char *prompt)
readline (char *prompt)
{
if (prompt)
{
......