+/* vi: set sw=4 ts=4: */
/*
* Mini clear implementation for busybox
*
- * Copyright (C) 1998 by Erik Andersen <andersee@debian.org>
+ * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.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
*
*/
-#include "internal.h"
+/* no options, no getopt */
+
#include <stdio.h>
+#include <stdlib.h>
+#include "busybox.h"
-extern int
-clear_main(int argc, char** argv)
+extern int clear_main(int argc, char **argv)
{
printf("\033[H\033[J");
- exit( TRUE);
+ return EXIT_SUCCESS;
}