• York Sun's avatar
    Consolidate bool type · 472d5460
    York Sun authored
    'bool' is defined in random places. This patch consolidates them into a
    single header file include/linux/types.h, using stdbool.h introduced in C99.
    All other #define, typedef and enum are removed. They are all consistent with
    true = 1, false = 0.
    Replace FALSE, False with false. Replace TRUE, True with true.
    Skip *.py, *.php, lib/* files.
    Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
posix_types.h 2.59 KB