[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: header not included but used in vl.c
From: |
Daniel P . Berrangé |
Subject: |
Re: header not included but used in vl.c |
Date: |
Tue, 1 Oct 2019 13:56:10 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Tue, Oct 01, 2019 at 03:12:17PM +0300, Toe Dev wrote:
> Hello,
> does it have a reason why the file vl.c lacks reference
> #include "qemu/module.h" ?
> but still uses the defines include their(for example the enum value:
> MODULE_INIT_OPTS)?
qemu/module.h is included by qom/object.h which is included by many
many things in QEMU, so vl.c gets module.h indirectly which is fine.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|