From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xose Vazquez Perez Subject: Re: [PATCH 1/2] Allow the compiler to verify consistency of declarations and definitions Date: Fri, 11 May 2018 20:20:00 +0200 Message-ID: References: <20180319162351.28950-1-bart.vanassche@wdc.com> <20180319162351.28950-2-bart.vanassche@wdc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180319162351.28950-2-bart.vanassche@wdc.com> Content-Language: en-GB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Bart Van Assche , Christophe Varoqui Cc: dm-devel@redhat.com, Martin Wilck List-Id: dm-devel.ids On 03/19/2018 05:23 PM, Bart Van Assche wrote: > Make sure that in every source file the header file is included that > declares the functions defined in that source file. This allows the > compiler to detect inconsistencies between source and header files. A header sanitizing could be done with iwyu: https://include-what-you-use.org/