mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
Use #include "..." for our own headers, <...> for others
System headers should be included with <...>, our own headers with
"...". Offenders tracked down with an ugly, brittle and probably
buggy Perl script. Previous iteration was commit a9c94277f0
.
Delete inclusions of "string.h" and "strings.h" instead of fixing them
to <string.h> and <strings.h>, because we always include these via
osdep.h.
Put the cleaned up system header includes first.
While there, separate #include from file comment with exactly one
blank line.
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180201111846.21846-2-armbru@redhat.com>
This commit is contained in:
parent
637b047717
commit
d8e39b7062
19 changed files with 21 additions and 28 deletions
|
@ -30,7 +30,6 @@
|
|||
#include "exec/ioport.h"
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "strings.h"
|
||||
#include "hax-i386.h"
|
||||
#include "sysemu/accel.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
#include "hw/i386/apic_internal.h"
|
||||
#include "hw/boards.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "strings.h"
|
||||
#include "sysemu/accel.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "target/i386/cpu.h"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "qemu-common.h"
|
||||
#include "panic.h"
|
||||
#include "x86_decode.h"
|
||||
#include "string.h"
|
||||
#include "vmx.h"
|
||||
#include "x86_mmu.h"
|
||||
#include "x86_descr.h"
|
||||
|
|
|
@ -15,18 +15,16 @@
|
|||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "panic.h"
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <memory.h>
|
||||
#include "panic.h"
|
||||
#include "qemu-common.h"
|
||||
#include "cpu.h"
|
||||
#include "x86.h"
|
||||
#include "x86_mmu.h"
|
||||
#include "string.h"
|
||||
#include "vmcs.h"
|
||||
#include "vmx.h"
|
||||
|
||||
#include "memory.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#define pte_present(pte) (pte & PT_PRESENT)
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "hw/i386/apic_internal.h"
|
||||
#include "hw/boards.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "strings.h"
|
||||
#include "sysemu/accel.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "target/i386/cpu.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue