Ahem: add new faq entry to list at top of FAQ.html
[oweals/busybox.git] / console-tools / clear.c
index 4a8e0450fbf13827437b5cf00649dadeeac4fa33..e43ed0e02d90e5569632148c3196771499355539 100644 (file)
@@ -2,9 +2,7 @@
 /*
  * Mini clear implementation for busybox
  *
- *
- * Copyright (C) 1999,2000 by Lineo, inc.
- * Written by Erik Andersen <andersen@lineo.com>, <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 "busybox.h"
+/* no options, no getopt */
+
 #include <stdio.h>
+#include <stdlib.h>
+#include "busybox.h"
 
 
 extern int clear_main(int argc, char **argv)
 {
        printf("\033[H\033[J");
-       return(TRUE);
+       return EXIT_SUCCESS;
 }