reader_replace_current_token can be made static

This commit is contained in:
ridiculousfish 2013-09-21 16:27:37 -07:00
parent 73f1030bde
commit 44bd405ed3
2 changed files with 1 additions and 6 deletions

View file

@ -2162,7 +2162,7 @@ static void set_command_line_and_position(const wcstring &new_str, size_t pos)
reader_repaint();
}
void reader_replace_current_token(const wchar_t *new_token)
static void reader_replace_current_token(const wchar_t *new_token)
{
const wchar_t *begin, *end;

View file

@ -216,11 +216,6 @@ void reader_set_exit_on_interrupt(bool flag);
*/
int exit_status();
/**
Replace the current token with the specified string
*/
void reader_replace_current_token(const wchar_t *new_token);
/**
The readers interrupt signal handler. Cancels all currently running blocks.
*/