diff options
Diffstat (limited to 'debian/clear_console.c')
-rw-r--r-- | debian/clear_console.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/clear_console.c b/debian/clear_console.c index 8412827..dd554b7 100644 --- a/debian/clear_console.c +++ b/debian/clear_console.c @@ -148,7 +148,7 @@ int is_pseudo_tty(int fd) return 0; } -int clear_console(int fd) +void clear_console(int fd) { int num, tmp_num; #if defined(__linux__) @@ -163,10 +163,10 @@ int clear_console(int fd) } if (is_pseudo_tty(STDIN_FILENO)) - return 0; + return; if (!strcmp(getenv("TERM"), "screen")) - return 0; + return; /* get current vt */ #if defined(__linux__) |