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  <simone.balla...@bugseng.com>
Signed-off-by: Maria Celeste Cesario  <maria.celeste.cesa...@bugseng.com>

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 <jgr...@amazon.com>

Cheers,

--
Julien Grall

Reply via email to