Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Commit

Permalink
Remove unused function vt_flush
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb3rt committed Nov 30, 2016
1 parent 5e2243a commit 98cc054
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions vt.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ void vt_secure(vt_t *vt) {
tcsetattr(vt->fd, TCSANOW, &vt->term);
}

void vt_flush(vt_t *vt) {
tcflush(vt->fd, TCIFLUSH);
}

CLEANUP void vt_reset(vt_t *vt) {
fprintf(vt->ios, "\033[H\033[J"); /* clear the screen */
vt->term.c_lflag = vt->rlflag;
Expand Down
1 change: 0 additions & 1 deletion vt.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ void vt_reopen(vt_t*);
CLEANUP int vt_release(vt_t*, int);

void vt_secure(vt_t*);
void vt_flush(vt_t*);
CLEANUP void vt_reset(vt_t*);

#endif /* VT_H */

0 comments on commit 98cc054

Please sign in to comment.