diff options
Diffstat (limited to 'clear.c')
-rw-r--r-- | clear.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * Mini clear implementation for busybox | 3 | * Mini clear implementation for busybox |
3 | * | 4 | * |
@@ -25,9 +26,8 @@ | |||
25 | #include <stdio.h> | 26 | #include <stdio.h> |
26 | 27 | ||
27 | 28 | ||
28 | extern int | 29 | extern int clear_main(int argc, char **argv) |
29 | clear_main(int argc, char** argv) | ||
30 | { | 30 | { |
31 | printf("\033[H\033[J"); | 31 | printf("\033[H\033[J"); |
32 | exit( TRUE); | 32 | exit(TRUE); |
33 | } | 33 | } |