summaryrefslogtreecommitdiffstats
path: root/hw/nvram/eeprom_at24c.c
diff options
context:
space:
mode:
authorMarkus Armbruster2018-02-01 12:18:29 +0100
committerMarkus Armbruster2018-02-09 05:05:11 +0100
commit8f0a3716e40cf479ebdc1cf5a34b8d500c05adff (patch)
treebe88d99c3c769aaf06c0e68d587f1a86b7ae180f /hw/nvram/eeprom_at24c.c
parentUse #include "..." for our own headers, <...> for others (diff)
downloadqemu-8f0a3716e40cf479ebdc1cf5a34b8d500c05adff.tar.gz
qemu-8f0a3716e40cf479ebdc1cf5a34b8d500c05adff.tar.xz
qemu-8f0a3716e40cf479ebdc1cf5a34b8d500c05adff.zip
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, with the change to target/s390x/gen-features.c manually reverted, and blank lines around deletions collapsed. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180201111846.21846-3-armbru@redhat.com>
Diffstat (limited to 'hw/nvram/eeprom_at24c.c')
-rw-r--r--hw/nvram/eeprom_at24c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/nvram/eeprom_at24c.c b/hw/nvram/eeprom_at24c.c
index efa3621ac6..22183f5360 100644
--- a/hw/nvram/eeprom_at24c.c
+++ b/hw/nvram/eeprom_at24c.c
@@ -7,9 +7,8 @@
* the LICENSE file in the top-level directory.
*/
-#include <string.h>
-
#include "qemu/osdep.h"
+
#include "qapi/error.h"
#include "hw/hw.h"
#include "hw/i2c/i2c.h"