Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/applets/usage.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 1  Line 1 
1  /* vi: set sw=4 ts=4: */  /* vi: set sw=4 ts=4: */
2  #include <unistd.h>  #include <unistd.h>
3    
4    /* Just #include "autoconf.h" doesn't work for builds in separate
5     * object directory */
6  #include "../include/autoconf.h"  #include "../include/autoconf.h"
7  #include "../include/busybox.h"  
8    /* Since we can't use platform.h, have to do this again by hand: */
9    #if ENABLE_NOMMU
10    #define BB_MMU 0
11    #define USE_FOR_NOMMU(...) __VA_ARGS__
12    #define USE_FOR_MMU(...)
13    #else
14    #define BB_MMU 1
15    #define USE_FOR_NOMMU(...)
16    #define USE_FOR_MMU(...) __VA_ARGS__
17    #endif
18    
19  static const char usage_messages[] = ""  static const char usage_messages[] = ""
20  #define MAKE_USAGE  #define MAKE_USAGE
# Line 12  static const char usage_messages[] = "" Line 24  static const char usage_messages[] = ""
24    
25  int main(void)  int main(void)
26  {  {
27   write(1, usage_messages, sizeof(usage_messages));   write(STDOUT_FILENO, usage_messages, sizeof(usage_messages));
28   return 0;   return 0;
29  }  }

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