Skip to content

Commit 17353c7

Browse files
committed
include: Add #ifndef header guard
Signed-off-by: Tyler Fanelli <[email protected]>
1 parent 51ce66e commit 17353c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/libkrun.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#include <stdbool.h>
33
#include <unistd.h>
44

5+
#ifndef _LIBKRUN_H
6+
#define _LIBKRUN_H
7+
58
/**
69
* Sets the log level for the library.
710
*
@@ -569,3 +572,5 @@ int32_t krun_set_nested_virt(uint32_t ctx_id, bool enabled);
569572
* down.
570573
*/
571574
int32_t krun_start_enter(uint32_t ctx_id);
575+
576+
#endif // _LIBKRUN_H

0 commit comments

Comments
 (0)