Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/console-tools/clear.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 815 by niro, Sat Sep 1 22:45:15 2007 UTC revision 816 by niro, Fri Apr 24 18:33:46 2009 UTC
# Line 10  Line 10 
10    
11  /* no options, no getopt */  /* no options, no getopt */
12    
13  #include <stdio.h>  #include "libbb.h"
 #include <stdlib.h>  
 #include "busybox.h"  
14    
15    int clear_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
16  int clear_main(int argc, char **argv)  int clear_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
17  {  {
18   return printf("\033[H\033[J") != 6;   return printf("\033[H\033[J") != 6;
19  }  }

Legend:
Removed from v.815  
changed lines
  Added in v.816