mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
include: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. NB: If this commit breaks compilation for your out-of-tree patchseries or fork, then you need to make sure you add #include "qemu/osdep.h" to any new .c files that you have. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#ifndef QEMU_NET_CHECKSUM_H
|
||||
#define QEMU_NET_CHECKSUM_H
|
||||
|
||||
#include <stdint.h>
|
||||
struct iovec;
|
||||
|
||||
uint32_t net_checksum_add_cont(int len, uint8_t *buf, int seq);
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
#ifndef QEMU_ETH_H
|
||||
#define QEMU_ETH_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/iov.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user