]> git.proxmox.com Git - qemu.git/commit
qemu-common.h: Comment about usage rules
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 23 Oct 2012 21:44:02 +0000 (19:44 -0200)
committerAndreas Färber <afaerber@suse.de>
Thu, 15 Nov 2012 00:38:13 +0000 (01:38 +0100)
commit04509ad939a7878b487b29e3500b79b5e2c1de35
tree5fb00ba4847b3e09e31b56bbe4d51174f175d66c
parentce34cf72fe508b27a78f83c184142e8d1e6a048a
qemu-common.h: Comment about usage rules

Every time we make a tiny change on a header file, we often find
circular header dependency problems. To avoid this nightmare, we need to
stop including qemu-common.h from other headers, and we should gradually
move the declarations from the catch-all qemu-common.h header to their
specific headers.

This simply adds a comment documenting the rules about qemu-common.h,
hoping that people will see it before including qemu-common.h from other
header files, and before adding more declarations to qemu-common.h.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
qemu-common.h