Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/applets/usage.c

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

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 1  Line 1 
1  /* vi: set sw=4 ts=4: */  /* vi: set sw=4 ts=4: */
2    /*
3     * Copyright (C) 2008 Denys Vlasenko.
4     *
5     * Licensed under GPLv2, see file LICENSE in this tarball for details.
6     */
7  #include <unistd.h>  #include <unistd.h>
8    
9  /* Just #include "autoconf.h" doesn't work for builds in separate  /* Just #include "autoconf.h" doesn't work for builds in separate
10   * object directory */   * object directory */
11  #include "../include/autoconf.h"  #include "autoconf.h"
12    
13  /* Since we can't use platform.h, have to do this again by hand: */  /* Since we can't use platform.h, have to do this again by hand: */
14  #if ENABLE_NOMMU  #if ENABLE_NOMMU
15  #define BB_MMU 0  # define BB_MMU 0
16  #define USE_FOR_NOMMU(...) __VA_ARGS__  # define USE_FOR_NOMMU(...) __VA_ARGS__
17  #define USE_FOR_MMU(...)  # define USE_FOR_MMU(...)
18  #else  #else
19  #define BB_MMU 1  # define BB_MMU 1
20  #define USE_FOR_NOMMU(...)  # define USE_FOR_NOMMU(...)
21  #define USE_FOR_MMU(...) __VA_ARGS__  # define USE_FOR_MMU(...) __VA_ARGS__
22  #endif  #endif
23    
24  static const char usage_messages[] = ""  static const char usage_messages[] = ""

Legend:
Removed from v.983  
changed lines
  Added in v.984