From: Keir Fraser Subject: Re: [PATCH] Make Xen headers lint-clean Date: Fri, 15 Jun 2007 09:30:39 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: john.levon@sun.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 15/6/07 00:02, "john.levon@sun.com" wrote: > Make ring.h and xs_wire.h lint clean. Add an unused attribute to xsd_errors if > using GCC, so we don't get duplicate arrays in every object including the > header. Casting memset() to void is completely barking. Noone ever cares about the return value, or looks at it: is half the C code in the universe not lint clean therefore? And xsd_errors[] already has the unused attribute; this patch does not add it as the changeset comment suggests. Do you require to use that header file with a compiler other than gcc? -- Keir