From patchwork Mon Nov 23 09:38:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris Kolpackov X-Patchwork-Id: 11924699 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB46CC56202 for ; Mon, 23 Nov 2020 09:45:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 966CB2078E for ; Mon, 23 Nov 2020 09:45:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726357AbgKWJpi (ORCPT ); Mon, 23 Nov 2020 04:45:38 -0500 Received: from codesynthesis.com ([188.40.148.39]:49824 "EHLO codesynthesis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726466AbgKWJpi (ORCPT ); Mon, 23 Nov 2020 04:45:38 -0500 X-Greylist: delayed 434 seconds by postgrey-1.27 at vger.kernel.org; Mon, 23 Nov 2020 04:45:37 EST Received: from brak.codesynthesis.com (unknown [105.226.15.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by codesynthesis.com (Postfix) with ESMTPSA id A01595F6E0; Mon, 23 Nov 2020 09:38:22 +0000 (UTC) Received: by brak.codesynthesis.com (Postfix, from userid 1000) id E42DF1A800C5; Mon, 23 Nov 2020 11:38:18 +0200 (SAST) Date: Mon, 23 Nov 2020 11:38:18 +0200 From: Boris Kolpackov To: Masahiro Yamada Cc: Luis Chamberlain , Linux Kbuild mailing list Subject: [PATCH v2 2/2] kconfig: clean up header inclusion Message-ID: References: <20201029155152.2467-1-boris@codesynthesis.com> <20201029155152.2467-3-boris@codesynthesis.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Organization: Code Synthesis User-Agent: Mutt/1.5.24 (2015-08-30) Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org - Add missing includes. - Remove no longer necessary includes. --- v2: Don't re-arrange includes. scripts/kconfig/conf.c | 1 - scripts/kconfig/confdata.c | 1 + scripts/kconfig/lexer.l | 1 - scripts/kconfig/symbol.c | 2 +- 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index f6e548b..db03e2f 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index a39d93e..2568dbe 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -5,6 +5,7 @@ #include #include +#include #include #include #include diff --git a/scripts/kconfig/lexer.l b/scripts/kconfig/lexer.l index 240109f..9c22cb5 100644 --- a/scripts/kconfig/lexer.l +++ b/scripts/kconfig/lexer.l @@ -12,7 +12,6 @@ #include #include #include -#include #include "lkc.h" #include "parser.tab.h" diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index ffa3ec6..fe38e6f 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -3,11 +3,11 @@ * Copyright (C) 2002 Roman Zippel */ +#include #include #include #include #include -#include #include "lkc.h"