[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools: avoid redefinition of typedefs
On Mon, 2016-01-25 at 17:24 +0100, Olaf Hering wrote: > On Mon, Jan 25, Ian Campbell wrote: > > > When splitting out various functionality from libxc into tools/libs/* > > I attempted to make it possible to avoid callers being unnecessarily > > exposed to the xentoollog interface by providing a typedef of the > > xentoollog_logger handle in each of the headers. > > Perhaps you already have another change in the queue. staging still > fails for me with evtchn_port_or_error_t xenevtchn_handle, like: I'm afraid not. I'll take a look. > > [ÂÂ130s] In file included from xc_private.h:35, > [ÂÂ130s]ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂfrom xc_suspend.c:21: > [ÂÂ130s] ./include/xenctrl.h:1080: error: redefinition of typedef > 'evtchn_port_or_error_t' > [ÂÂ130s] /usr/src/packages/BUILD/xen-4.7.20160125T154552.84e0616/non- > dbg/tools/libxc/../../tools/libs/evtchn/include/xenevtchn.h:31: error: > previous declaration of 'evtchn_port_or_error_t' was here > [ÂÂ130s] In file included from xc_suspend.c:22: > [ÂÂ130s] ./include/xenguest.h:41: error: redefinition of typedef > 'xenevtchn_handle' > [ÂÂ130s] /usr/src/packages/BUILD/xen-4.7.20160125T154552.84e0616/non- > dbg/tools/libxc/../../tools/libs/evtchn/include/xenevtchn.h:33: error: > previous declaration of 'xenevtchn_handle' was here > > Olaf _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |