Skip to content

Commit aecb201

Browse files
roygerjgross1
authored andcommitted
xen/balloon: add header guard
In order to protect against the header being included multiple times on the same compilation unit. Signed-off-by: Roger Pau Monné <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
1 parent 9d3004b commit aecb201

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/xen/balloon.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
/******************************************************************************
33
* Xen balloon functionality
44
*/
5+
#ifndef _XEN_BALLOON_H
6+
#define _XEN_BALLOON_H
57

68
#define RETRY_UNLIMITED 0
79

@@ -34,3 +36,5 @@ static inline void xen_balloon_init(void)
3436
{
3537
}
3638
#endif
39+
40+
#endif /* _XEN_BALLOON_H */

0 commit comments

Comments
 (0)