From nobody Mon Feb 9 12:29:42 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518250799477258.8831946180692; Sat, 10 Feb 2018 00:19:59 -0800 (PST) Received: from localhost ([::1]:38849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQO6-0004TO-Np for importer@patchew.org; Sat, 10 Feb 2018 03:19:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHT-0007JU-Lc for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQHR-0003Hl-0d for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:07 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:51315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHQ-0003HO-ML; Sat, 10 Feb 2018 03:13:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id C428E40C59; Sat, 10 Feb 2018 11:13:02 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 17AAF758; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22794 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:54:59 +0300 Message-Id: <38272f2d02fb855a2f76c510d4386f699b88cae5.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 04/17] Drop unneeded system header includes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Michael Tokarev Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Eric Blake is a non-standard obsolete header that was long ago replaced by . is a non-standard header; it is not obsolete (we must use it for malloc_trim, for example), but generally should not be used in files that just need malloc() and friends, where is the standard header. And since osdep.h already guarantees string.h and stdlib.h, we can drop these unusual system header includes as redundant rather than replacing them. Signed-off-by: Eric Blake Signed-off-by: Michael Tokarev Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- target/i386/hax-windows.h | 2 -- target/i386/hvf/x86_mmu.c | 1 - 2 files changed, 3 deletions(-) diff --git a/target/i386/hax-windows.h b/target/i386/hax-windows.h index 004f867694..20e2f85407 100644 --- a/target/i386/hax-windows.h +++ b/target/i386/hax-windows.h @@ -20,8 +20,6 @@ #ifndef TARGET_I386_HAX_WINDOWS_H #define TARGET_I386_HAX_WINDOWS_H =20 -#include -#include #include #include =20 diff --git a/target/i386/hvf/x86_mmu.c b/target/i386/hvf/x86_mmu.c index c6be2cca35..d5a0efe718 100644 --- a/target/i386/hvf/x86_mmu.c +++ b/target/i386/hvf/x86_mmu.c @@ -17,7 +17,6 @@ */ =20 #include "qemu/osdep.h" -#include #include "panic.h" #include "qemu-common.h" #include "cpu.h" --=20 2.11.0