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)); ...@@ -318,7 +318,7 @@ extern int ml_got_interrupt __P ((void));
318 extern void ml_clear_interrupt __P ((void)); 318 extern void ml_clear_interrupt __P ((void));
319 extern void ml_readline_init __P ((void)); 319 extern void ml_readline_init __P ((void));
320 extern int ml_reread __P ((const char *prompt, char **text)); 320 extern int ml_reread __P ((const char *prompt, char **text));
321 extern char *ml_readline __P((const char *prompt)); 321 extern char *ml_readline __P((char *prompt));
322 322
323 extern char *alias_expand __P ((char *name)); 323 extern char *alias_expand __P ((char *name));
324 extern void alias_destroy __P ((char *name)); 324 extern void alias_destroy __P ((char *name));
...@@ -335,7 +335,7 @@ char *compose_header_get __P((compose_env_t *env, char *name, ...@@ -335,7 +335,7 @@ char *compose_header_get __P((compose_env_t *env, char *name,
335 void compose_destroy __P((compose_env_t *env)); 335 void compose_destroy __P((compose_env_t *env));
336 336
337 #ifndef HAVE_READLINE_READLINE_H 337 #ifndef HAVE_READLINE_READLINE_H
338 extern char *readline __P ((const char *prompt)); 338 extern char *readline __P ((char *prompt));
339 #endif 339 #endif
340 340
341 #ifndef _PATH_SENDMAIL 341 #ifndef _PATH_SENDMAIL
......
...@@ -169,7 +169,7 @@ ml_readline_internal () ...@@ -169,7 +169,7 @@ ml_readline_internal ()
169 } 169 }
170 170
171 char * 171 char *
172 ml_readline (const char *prompt) 172 ml_readline (char *prompt)
173 { 173 {
174 if (interactive) 174 if (interactive)
175 return readline (prompt); 175 return readline (prompt);
...@@ -529,7 +529,7 @@ ml_reread (const char *prompt, char **text) ...@@ -529,7 +529,7 @@ ml_reread (const char *prompt, char **text)
529 } 529 }
530 530
531 char * 531 char *
532 readline (const char *prompt) 532 readline (char *prompt)
533 { 533 {
534 if (prompt) 534 if (prompt)
535 { 535 {
......