]> git.proxmox.com Git - qemu.git/commit - qemu-common.h
Introduce compiler.h header file
authorLuiz Capitulino <lcapitulino@gmail.com>
Mon, 11 Jul 2011 17:24:44 +0000 (14:24 -0300)
committerLuiz Capitulino <lcapitulino@gmail.com>
Thu, 21 Jul 2011 19:48:13 +0000 (16:48 -0300)
commit5c0263204da1870243107acd6c73b21f2e7b78f0
treefc830789faac741efed0b20412fb59edf0614303
parentd967b2f14f238c24264fa73d02e9b0dde0b19506
Introduce compiler.h header file

This moves compiler related macros from qemu-common.h to compiler.h.

The reason for this change is that there are simple header files that
depend only on the compiler macros, so including qemu-common.h is overkill.

Besides, qemu-common.h is bloated and will benefit from some splitting.

Please, also note that the QEMU_BUILD_BUG_ON() macro is being fixed to
not use double underscores as a prefix and the license text was added
by Vassili Karpov (malc), who is one of the authors of the new file.

Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
compiler.h [new file with mode: 0644]
qemu-common.h