Received: from eggs.gnu.org ([2001:4830:134:3::10]:40792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c08Cr-0006W1-Ec for qemu-devel@nongnu.org; Fri, 28 Oct 2016 10:32:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c08Cm-0001z5-FE for qemu-devel@nongnu.org; Fri, 28 Oct 2016 10:32:29 -0400 References: <1477033027-25315-1-git-send-email-anand.indukala@gmail.com> From: Michael Tokarev Message-ID: Date: Fri, 28 Oct 2016 17:32:20 +0300 MIME-Version: 1.0 In-Reply-To: <1477033027-25315-1-git-send-email-anand.indukala@gmail.com> Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 0/2] Script changes to find duplicate #include entries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anand J , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, thuth@redhat.com, eblake@redhat.com 21.10.2016 09:57, Anand J wrote: > There were some files in the code base with multiple inclusion of the same header files. > Following changes are made to mitigate this issue. > > 1) --check-dup-head option is added to the scripts/clean-includes to search files and > find out such entries. This will help to catch redundant #includes in the future. > 2) Removed most of the duplicate entries currently present in the code base using the > script. > > Anand J (2): > scripts/clean-includes: added duplicate #include check > clean-up: removed duplicate #includes Applied both to -trivial, thank you! /mjt