summaryrefslogtreecommitdiff
path: root/src/shared/virt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/virt.h')
-rw-r--r--src/shared/virt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/virt.h b/src/shared/virt.h
index aa6ad35ba9..7194ab2bf7 100644
--- a/src/shared/virt.h
+++ b/src/shared/virt.h
@@ -24,12 +24,12 @@
int detect_vm(const char **id);
int detect_container(const char **id);
-typedef enum Virtualization {
+enum {
VIRTUALIZATION_NONE = 0,
VIRTUALIZATION_VM,
VIRTUALIZATION_CONTAINER,
_VIRTUALIZATION_MAX,
_VIRTUALIZATION_INVALID = -1
-} Virtualization;
+};
-Virtualization detect_virtualization(const char **id);
+int detect_virtualization(const char **id);