mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
reader_replace_current_token can be made static
This commit is contained in:
parent
73f1030bde
commit
44bd405ed3
2 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
|
|
5
reader.h
5
reader.h
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue