On 25.01.21 13:00, Andrea Bastoni wrote: > Signed-off-by: Andrea Bastoni <[email protected]> > --- > hypervisor/include/jailhouse/control.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/hypervisor/include/jailhouse/control.h > b/hypervisor/include/jailhouse/control.h > index 76eb0428..2ac7e2dd 100644 > --- a/hypervisor/include/jailhouse/control.h > +++ b/hypervisor/include/jailhouse/control.h > @@ -9,6 +9,8 @@ > * This work is licensed under the terms of the GNU GPL, version 2. See > * the COPYING file in the top-level directory. > */ > +#ifndef _JAILHOUSE_CONTROL_H > +#define _JAILHOUSE_CONTROL_H > > #include <jailhouse/bitops.h> > #include <jailhouse/percpu.h> > @@ -298,3 +300,5 @@ void __attribute__((noreturn)) arch_panic_stop(void); > void arch_panic_park(void); > > /** @} */ > + > +#endif >
I think we could also consider #pragma once, with the same rationals as in [1]. Jan [1] https://groups.google.com/d/msgid/efibootguard-dev/7c654734-df14-4b7c-e5a7-bf68f224c1be%40siemens.com -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/30e9107a-8b99-c9c8-ae90-df39157a66e2%40siemens.com.
