[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 04/34] xen/compiler: Introduce always_unused define
On Tue, 25 Mar 2014, Julien Grall wrote: > This define will be used to denote function which are never used but contains ^functions ^contain > usefull code (e.g BUILD_BUG_ON stuff). ^ useful > Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx> > Cc: Keir Fraser <keir@xxxxxxx> > --- > xen/include/xen/compiler.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/xen/include/xen/compiler.h b/xen/include/xen/compiler.h > index 6e07990..07e8b80 100644 > --- a/xen/include/xen/compiler.h > +++ b/xen/include/xen/compiler.h > @@ -16,6 +16,8 @@ > > #define noreturn __attribute__((noreturn)) > > +#define always_unused __attribute__((unused)) > + > #define __packed __attribute__((packed)) > > #if (!defined(__clang__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 5)) > -- > 1.7.10.4 > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |