MISRA C Directive 4.10 states that "Precautions shall be taken in order to prevent the contents of a header file being included more than once".
Fix few remaining header guards, and update ECLAIR configuration Federico Serafini (6): xen/arm: add inclusion guards xen/x86: add inclusion guards xen: add inclusion guards xen: refactor include guards x86/asm: refactor inclusion guards automation/eclair: update configuration of D4.10 automation/eclair_analysis/ECLAIR/deviations.ecl | 14 +++++++++++--- automation/eclair_analysis/ECLAIR/tagging.ecl | 1 + docs/misra/deviations.rst | 15 +++++++++++++++ xen/arch/arm/efi/efi-boot.h | 6 ++++++ xen/arch/arm/include/asm/efibind.h | 5 +++++ xen/arch/x86/Makefile | 8 ++++---- xen/arch/x86/cpu/cpu.h | 6 ++++++ xen/arch/x86/efi/efi-boot.h | 6 ++++++ xen/arch/x86/efi/runtime.h | 5 +++++ xen/arch/x86/include/asm/compat.h | 5 +++++ xen/arch/x86/include/asm/efibind.h | 5 +++++ xen/arch/x86/x86_64/mmconfig.h | 5 +++++ xen/arch/x86/x86_emulate/private.h | 5 +++++ xen/common/decompress.h | 5 +++++ xen/common/efi/efi.h | 5 +++++ xen/common/event_channel.h | 5 +++++ xen/include/xen/err.h | 10 +++++++--- xen/include/xen/pci_ids.h | 5 +++++ xen/include/xen/softirq.h | 10 +++++++--- 19 files changed, 113 insertions(+), 13 deletions(-) -- 2.25.1