From patchwork Wed Jan 31 11:55:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768484 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1818821wro; Wed, 31 Jan 2024 03:59:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/Tyw9QQj6tzNK0cMvLr3GhoyulxZvXXUZxHRxotuzGeEyCRXJjY9lcEn8Mj09WY28CPdA X-Received: by 2002:a05:620a:4443:b0:785:4016:c954 with SMTP id w3-20020a05620a444300b007854016c954mr187178qkp.14.1706702355442; Wed, 31 Jan 2024 03:59:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702355; cv=none; d=google.com; s=arc-20160816; b=YQNzCA0G0Ftm6bGBg4DEJ4OtyVf/EkQYB3tobDlfH4/fqqkB+KTjmw9Uevbc1+TA3f DyDw4A9rBwYsSHx1o5Y53oW+jTa7p6xs5DMELpAa1FVOYnbGHjy9D8dzNHk9wvpusKMP 5o5sZNftLmguy4Tt7gdiV7ZxTrfnV34nFpf7HqnQoyBPSNxGoeH3XRptD/Gu8o98EjdG /PCt5ZpodX7uM/cR0vrcBJsQuz1q2FP1RbnvKgWQ3mjONlQSTI5Jb4KdJgzmM8zhVqFc FhZCWd6oAtb814g0ancYM28zqnOJQHDZf/zE7/B7njwix6GiQZROMnrVf+dWbZ90pZsa y7Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=jb6ejeXMuS36DXpff5Ah0AUXhg901p5MMVEzaaoiTIA=; fh=NW3CGE2D4SreyFSfRa+q6o3gTYzqI2PAzM6cHkZXui8=; b=twNDJqY87zeOQerVU8c2a/LQHGFG1XDmY7eZG1JbpgYv/igcAF1U43j77k9JEVYLX4 hawHmZ589fh3I8GcUBjJ3ayhVrBVt6I3Jpb4V9rGkzliUm85tWvy5NMQYbQ/wG/TMsYL cFUAmHYryAtmenJIgNm9JZsLryjWng8pShjB06ev/ZjxzIKT51ppmmVbbdQPD1gMRdbL Cw+xONLvaSWyFlOpAMfKAjy2ctU0YctBTCOJdf74MIi8+ebGHI4pKiSHGM4Dx4naHxab IRTGVwEQbCVF5xocLf+4XfyJWjs+53s12rca6xVPSYbQcccCywv/9w7VE1qH9gBuetj1 LNWg==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" X-Forwarded-Encrypted: i=0; AJvYcCV13X/e0Vl/uPsf8JmTVnH8QK3OLYd0FSN3jX9SjD0Bf3+KYyeoj1h8in51lO239o8oWODffsZCKhO4We990YYW Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l1-20020a05620a210100b00783e692cebasi9277619qkl.167.2024.01.31.03.59.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 03:59:15 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9Ce-0000Ui-K5; Wed, 31 Jan 2024 06:56:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CU-0000B8-1U; Wed, 31 Jan 2024 06:56:19 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CR-0003xr-J4; Wed, 31 Jan 2024 06:56:17 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 6F6F9490C9; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id A64E370272; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263945 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 11/21] m68k: Clean up includes Date: Wed, 31 Jan 2024 14:55:39 +0300 Message-Id: <20240131115549.2263854-12-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes: ./scripts/clean-includes --git m68k include/hw/audio/asc.h include/hw/m68k/*.h All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Signed-off-by: Michael Tokarev --- include/hw/audio/asc.h | 1 - include/hw/m68k/q800-glue.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/hw/audio/asc.h b/include/hw/audio/asc.h index 4741f92c46..04fac270b6 100644 --- a/include/hw/audio/asc.h +++ b/include/hw/audio/asc.h @@ -13,7 +13,6 @@ #ifndef HW_AUDIO_ASC_H #define HW_AUDIO_ASC_H -#include "qemu/osdep.h" #include "hw/sysbus.h" #include "audio/audio.h" diff --git a/include/hw/m68k/q800-glue.h b/include/hw/m68k/q800-glue.h index ceb916d16c..04fac25f6c 100644 --- a/include/hw/m68k/q800-glue.h +++ b/include/hw/m68k/q800-glue.h @@ -23,7 +23,6 @@ #ifndef HW_Q800_GLUE_H #define HW_Q800_GLUE_H -#include "qemu/osdep.h" #include "hw/sysbus.h" #define TYPE_GLUE "q800-glue"