commit | 28ac195b593d59fb74307dbcc6760885859badb7 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Thu Jun 12 09:52:29 2025 +0530 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Jun 18 11:45:54 2025 +0530 |
tree | 79bde3bef3e5be40ae9805d4f228194306a5f79e | |
parent | 7554f1df4c8bb8a6e2b708b9e0a239343a322bd1 [diff] |
fix(libc): replace true-false with explicit comparisons This corrects the MISRA violation C2012-10.1: This change avoids implicit conversions between standard boolean types and integer types, ensuring type safety and compliance. Replaced definitions of `true` and `false` in <stdbool.h> with explicit equality ('0'=='0') and inequality ('1'=='0') checks. Change-Id: I507522c8be8654d830f73f32dd4ca9fe98cf0f8f Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>