Home
last modified time | relevance | path

Searched hist:"0 aa9f3c0f2f2ff675c3c12ae5ac6ceb475d6a16f" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/include/lib/libc/
H A Dstdbool.h0aa9f3c0f2f2ff675c3c12ae5ac6ceb475d6a16f Tue Jul 14 11:26:19 UTC 2020 Alexei Fedorov <Alexei.Fedorov@arm.com> TF-A: Redefine true/false definitions

This patch redefines 'true' and 'false' definitions in
'include/lib/libc/stdbool.h' to fix defect reported by
MISRA C-2012 Rule 10.1
"The expression \"0\" of non-boolean essential type is
being interpreted as a boolean value for the operator \"? :\"."

Change-Id: Ie1b16e5826e5427cc272bd753e15d4d283e1ee4c
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>