Hi Simone, On 11/03/2024 08:59, Simone Ballarin wrote:
Amend inclusion guards to address violations of MISRA C:2012 Directive 4.10 ("Precautions shall be taken in order to prevent the contents of a header file being included more than once").Inclusion guards must appear at the beginning of the headers (comments are permitted anywhere) and the #if directive cannot be used for other checks. Mechanical change. Signed-off-by: Simone Ballarin <[email protected]> Signed-off-by: Maria Celeste Cesario <[email protected]>
Regarding Jan's comment, I don't have any strong opinion on whether this patch impair readability in this case. So:
Acked-by: Julien Grall <[email protected]> Cheers, -- Julien Grall
