Skip to content
Snippets Groups Projects
Commit 472d5460 authored by York Sun's avatar York Sun Committed by Tom Rini
Browse files

Consolidate bool type


'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>
parent 56443694
No related branches found
No related tags found
No related merge requests found
Showing
with 182 additions and 228 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment