From: Ian Campbell Subject: Re: [PATCH V5 04/32] libxl: libxl_uuid_copy now taks a ctx argument Date: Fri, 16 May 2014 12:31:50 +0100 Message-ID: <1400239910.8259.52.camel@kazak.uk.xensource.com> References: <1400018054-26038-1-git-send-email-wei.liu2@citrix.com> <1400018054-26038-5-git-send-email-wei.liu2@citrix.com> <1400172667.883.31.camel@kazak.uk.xensource.com> <20140515171339.GD10525@zion.uk.xensource.com> <1400233612.8259.6.camel@kazak.uk.xensource.com> <20140516101822.GD18551@zion.uk.xensource.com> <1400236252.8259.25.camel@kazak.uk.xensource.com> <20140516111726.GG18551@zion.uk.xensource.com> <20140516112123.GH18551@zion.uk.xensource.com> <1400239437.8259.49.camel@kazak.uk.xensource.com> <20140516112802.GJ18551@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140516112802.GJ18551@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2014-05-16 at 12:28 +0100, Wei Liu wrote: > On Fri, May 16, 2014 at 12:23:57PM +0100, Ian Campbell wrote: > > On Fri, 2014-05-16 at 12:21 +0100, Wei Liu wrote: > > > > > libxl_internal.h:56:3: error: #error libxl.h should be included via libxl_internal.h, not separately > > > libxl_internal.h:59:0: error: "LIBXL_EXTERNAL_CALLERS_ONLY" redefined [-Werror] > > > > I forgot about this. I think with this change you don't need the libxl.h > > include in libxl_uuid.h. It is included either via libxl.h or > > libxl_internal.h. > > > > I don't see inclusion of libxl_internal.h in libxl_uuid.h. I mean that it is either: libxl_foo.c -> libxl_internal.h -> libxl.h -> libxl_uuid.h or xl_foo.c -> libxl.h -> libxl_uuid.h Noone includes libxl_uuid.h directly (and it seems they shouldn't) Ian.