Changeset 3835


Ignore:
Timestamp:
Mar 16, 2014, 6:16:23 PM (11 years ago)
Author:
bird
Message:

reduce warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/include/sys/cdefs.h

    r3833 r3835  
    1818 * Indicates that we've included headers from kLibC. (The value is always 1
    1919 * and has no special meaning.) */
     20#undef  __KLIBC__
    2021#define __KLIBC__   1
    2122
     
    2627 * The kLibC version number on the form 0xMMNNPP0S, where MM is major, NN is
    2728 * minor, PP the patch level, and S the tree status.
     29 * @note This differes from the format the 3.3.5 compiler releases used.
    2830 */
     31#undef  __KLIBC_VERSION__
    2932#define __KLIBC_VERSION__       __KLIBC_MAKE_VERSION_EX(0, 7, 0, 1)
    3033
    3134/** @def __KLIBC_VER_MAJOR__
    3235 * The kLibC major version number. */
     36#undef  __KLIBC_VER_MAJOR__
    3337#define __KLIBC_VER_MAJOR__         ((__KLIBC_VERSION__ >> 24) & 0xff)
    3438/** @def __KLIBC_VER_MINOR__
    3539 * The kLibC minor version number. */
     40#undef  __KLIBC_VER_MINOR__
    3641#define __KLIBC_VER_MINOR__         ((__KLIBC_VERSION__ >> 16) & 0xff)
    3742/** @def __KLIBC_VER_PATCHLEVEL__
    3843 * The kLibC patch level. */
     44#undef  __KLIBC_VER_PATCHLEVEL__
    3945#define __KLIBC_VER_PATCHLEVEL__    ((__KLIBC_VERSION__ >>  8) & 0xff)
    4046/** @def __KLIBC_VER_STATUS__
    4147 * The kLibC tree status. */
     48#undef  __KLIBC_VER_STATUS__
    4249#define __KLIBC_VER_STATUS__        ( __KLIBC_VERSION__        & 0x0f)
    4350
Note: See TracChangeset for help on using the changeset viewer.