Changeset bf61d3a in mainline for kernel/arch/amd64/include/types.h


Ignore:
Timestamp:
2010-11-26T01:34:21Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
273b958
Parents:
4b9a410 (diff), 7e752b2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge compile-time printf() argument checking, fixes of actual printf() arguments and related modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/types.h

    r4b9a410 rbf61d3a  
    5050} fncptr_t;
    5151
    52 #define PRIp   PRIx64  /**< Format for uintptr_t. */
    53 #define PRIs   PRIu64  /**< Format for size_t. */
     52#define INTN_C(c)   INT64_C(c)
     53#define UINTN_C(c)  UINT64_C(c)
     54
    5455#define PRIdn  PRId64  /**< Format for native_t. */
    5556#define PRIun  PRIu64  /**< Format for unative_t. */
    5657#define PRIxn  PRIx64  /**< Format for hexadecimal unative_t. */
     58#define PRIua  PRIu64  /**< Format for atomic_count_t. */
    5759
    5860#endif
Note: See TracChangeset for help on using the changeset viewer.