Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a4fb8d60 in mainline


Ignore:
Timestamp:
2017-10-10T18:58:49Z (3 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
master
Children:
04ba110
Parents:
33f86a3
Message:

Kill U/INTN_C().

It's only used in one place and its practical usefulness is nonexistent.

Location:
kernel
Files:
10 edited

Legend:

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

    r33f86a3 ra4fb8d60  
    5656} fncptr_t;
    5757
    58 #define INTN_C(c)   INT32_C(c)
    59 #define UINTN_C(c)  UINT32_C(c)
    60 
    6158#define PRIdn  PRId32  /**< Format for native_t. */
    6259#define PRIun  PRIu32  /**< Format for sysarg_t. */
  • kernel/arch/amd64/include/arch/types.h

    r33f86a3 ra4fb8d60  
    5353} fncptr_t;
    5454
    55 #define INTN_C(c)   INT64_C(c)
    56 #define UINTN_C(c)  UINT64_C(c)
    57 
    5855#define PRIdn  PRId64  /**< Format for native_t. */
    5956#define PRIun  PRIu64  /**< Format for sysarg_t. */
  • kernel/arch/arm32/include/arch/types.h

    r33f86a3 ra4fb8d60  
    6060} fncptr_t;
    6161
    62 #define INTN_C(c)   INT32_C(c)
    63 #define UINTN_C(c)  UINT32_C(c)
    64 
    6562#define PRIdn  PRId32  /**< Format for native_t. */
    6663#define PRIun  PRIu32  /**< Format for sysarg_t. */
  • kernel/arch/ia32/include/arch/types.h

    r33f86a3 ra4fb8d60  
    5353} fncptr_t;
    5454
    55 #define INTN_C(c)   INT32_C(c)
    56 #define UINTN_C(c)  UINT32_C(c)
    57 
    5855#define PRIdn  PRId32  /**< Format for native_t. */
    5956#define PRIun  PRIu32  /**< Format for sysarg_t. */
  • kernel/arch/ia64/include/arch/types.h

    r33f86a3 ra4fb8d60  
    5555} __attribute__((may_alias)) fncptr_t;
    5656
    57 #define INTN_C(c)   INT64_C(c)
    58 #define UINTN_C(c)  UINT64_C(c)
    59 
    6057#define PRIdn  PRId64  /**< Format for native_t. */
    6158#define PRIun  PRIu64  /**< Format for sysarg_t. */
  • kernel/arch/mips32/include/arch/types.h

    r33f86a3 ra4fb8d60  
    5353} fncptr_t;
    5454
    55 #define INTN_C(c)   INT32_C(c)
    56 #define UINTN_C(c)  UINT32_C(c)
    57 
    5855#define PRIdn  PRId32  /**< Format for native_t. */
    5956#define PRIun  PRIu32  /**< Format for sysarg_t. */
  • kernel/arch/ppc32/include/arch/types.h

    r33f86a3 ra4fb8d60  
    5353} fncptr_t;
    5454
    55 #define INTN_C(c)   INT32_C(c)
    56 #define UINTN_C(c)  UINT32_C(c)
    57 
    5855#define PRIdn  PRId32  /**< Format for native_t. */
    5956#define PRIun  PRIu32  /**< Format for sysarg_t. */
  • kernel/arch/riscv64/include/arch/types.h

    r33f86a3 ra4fb8d60  
    5353} fncptr_t;
    5454
    55 #define INTN_C(c)   INT64_C(c)
    56 #define UINTN_C(c)  UINT64_C(c)
    57 
    5855#define PRIdn  PRId64  /**< Format for native_t. */
    5956#define PRIun  PRIu64  /**< Format for sysarg_t. */
  • kernel/arch/sparc64/include/arch/types.h

    r33f86a3 ra4fb8d60  
    5555typedef uint8_t asi_t;
    5656
    57 #define INTN_C(c)   INT64_C(c)
    58 #define UINTN_C(c)  UINT64_C(c)
    59 
    6057#define PRIdn  PRId64  /**< Format for native_t. */
    6158#define PRIun  PRIu64  /**< Format for sysarg_t. */
  • kernel/test/print/print2.c

    r33f86a3 ra4fb8d60  
    6262        TPRINTF("Real output:     [%td] [%tu] [%tx] [%ti] [%to]\n\n", d, neg_d, neg_d, d, neg_d);
    6363       
    64         sysarg_t nat = UINTN_C(0x12345678);
     64        sysarg_t nat = 0x12345678;
    6565       
    6666        TPRINTF("Testing printf(\"%%#" PRIx64 " %%#" PRIx32 " %%#" PRIx16 " %%#" PRIx8 " %%#" PRIxn " %%#" PRIx64 " %%s\", (uint64_t) UINT64_C(0x1234567887654321), (uint32_t) UINT32_C(0x12345678), (uint16_t) UINT16_C(0x1234), (uint8_t) UINT8_C(0x12), nat, (uint64_t) UINT64_C(0x1234567887654321), \"Lovely string\"):\n");
Note: See TracChangeset for help on using the changeset viewer.