Remove various empty or useless functions

In particular remove init()/destroy() functions that do nothing, or
destroy functions that only free memory.
This commit is contained in:
ridiculousfish
2018-02-10 17:21:55 -08:00
parent 3a45cad12e
commit ba7b8a9584
13 changed files with 3 additions and 49 deletions

View File

@@ -803,8 +803,6 @@ void reader_init() {
get_current_winsize();
}
void reader_destroy() { pthread_key_delete(generation_count_key); }
/// Restore the term mode if we own the terminal. It's important we do this before
/// restore_foreground_process_group, otherwise we won't think we own the terminal.
void restore_term_mode() {