When using the ENUM macros, the compiler guards that the declaration and implementation are in sync. Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> --- src/conf/domain_conf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 48b0af4b04..00ff734ff0 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -119,7 +119,6 @@ struct _virDomainDeviceDef { }; /* Different types of hypervisor */ -/* NB: Keep in sync with virDomainVirtTypeToString impl */ typedef enum { VIR_DOMAIN_VIRT_NONE = 0, VIR_DOMAIN_VIRT_QEMU, -- 2.19.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list