projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tac: *really* add tac.c now
[oweals/busybox.git]
/
console-tools
/
clear.c
diff --git
a/console-tools/clear.c
b/console-tools/clear.c
index 053293ce24315b009781a65ea3c610e81e916182..769ce312149057a4b3deb6f58c0b7a6dd1293654 100644
(file)
--- a/
console-tools/clear.c
+++ b/
console-tools/clear.c
@@
-10,12
+10,9
@@
/* no options, no getopt */
/* no options, no getopt */
-#include <stdio.h>
-#include <stdlib.h>
#include "libbb.h"
#include "libbb.h"
-
-int clear_main(int argc, char **argv);
+int clear_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int clear_main(int argc, char **argv)
{
return printf("\033[H\033[J") != 6;
int clear_main(int argc, char **argv)
{
return printf("\033[H\033[J") != 6;