ui: Remove redundant ui.h includes

Also move read_error_exit to os/input.c
This commit is contained in:
Thiago de Arruda
2014-11-27 14:58:04 -03:00
parent a3534138a8
commit bf6bb27e79
26 changed files with 10 additions and 35 deletions

View File

@@ -93,17 +93,6 @@ int ui_get_shellsize(void)
return retval;
}
/*
* Exit because of an input read error.
*/
void read_error_exit(void)
{
if (silent_mode) /* Normal way to exit for "ex -s" */
getout(0);
STRCPY(IObuff, _("Vim: Error reading input, exiting...\n"));
preserve_exit();
}
/*
* May update the shape of the cursor.
*/