Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/applets/individual.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 9  const char *applet_name; Line 9  const char *applet_name;
9    
10  #include <stdio.h>  #include <stdio.h>
11  #include <stdlib.h>  #include <stdlib.h>
 //Ok to remove? #include "bb_config.h"  
12  #include "usage.h"  #include "usage.h"
13    
14  int main(int argc, char *argv[])  int main(int argc, char **argv)
15  {  {
16   applet_name=argv[0];   applet_name = argv[0];
   
17   return APPLET_main(argc,argv);   return APPLET_main(argc,argv);
18  }  }
19    
20  void bb_show_usage(void)  void bb_show_usage(void)
21  {  {
22   printf(APPLET_full_usage "\n");   fputs(APPLET_full_usage "\n", stdout);
23     exit(EXIT_FAILURE);
  exit(1);  
24  }  }

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