projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for dpkg-deb, courtesy of Larry Doolittle.
[oweals/busybox.git]
/
clear.c
diff --git
a/clear.c
b/clear.c
index bc813064ec042bc9072627890fb155f95db5afd3..ca83f3820e9b0543b73b4a773dc6925190150c85 100644
(file)
--- a/
clear.c
+++ b/
clear.c
@@
-1,7
+1,10
@@
+/* vi: set sw=4 ts=4: */
/*
* Mini clear implementation for busybox
*
/*
* Mini clear implementation for busybox
*
- * Copyright (C) 1998 by Erik Andersen <andersee@debian.org>
+ *
+ * Copyright (C) 1999,2000 by Lineo, inc.
+ * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-19,13
+22,12
@@
*
*/
*
*/
-#include "
internal
.h"
+#include "
busybox
.h"
#include <stdio.h>
#include <stdio.h>
-extern int
-clear_main(int argc, char** argv)
+extern int clear_main(int argc, char **argv)
{
printf("\033[H\033[J");
{
printf("\033[H\033[J");
-
exit( TRUE)
;
+
return EXIT_SUCCESS
;
}
}