summaryrefslogtreecommitdiff
path: root/debian/clear_console.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-11 14:49:26 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-11 15:19:40 -0700
commit011c1d1c0766c65517ebd495465c99e86edb63ec (patch)
tree30d8f6a13235af90897c3223554871ef52225462 /debian/clear_console.c
parent40cfaccf7b178b6239b5cd0013ef80b7ff8e503e (diff)
downloadvyatta-bash-011c1d1c0766c65517ebd495465c99e86edb63ec.tar.gz
vyatta-bash-011c1d1c0766c65517ebd495465c99e86edb63ec.zip
Update to bash-4.1
Diffstat (limited to 'debian/clear_console.c')
-rw-r--r--debian/clear_console.c6
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__)