From: Vladimir 'phcoder' Serbinenko Date: Fri, 23 Aug 2013 06:58:34 +0000 (+0200) Subject: * grub-core/lib/xzembed/xz_dec_lzma2.c: Make -Wattributes not cause X-Git-Tag: grub-2.02-beta1~857 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64463dfde40b4cf5e551899d656d3ef50b7a008a;p=thirdparty%2Fgrub.git * grub-core/lib/xzembed/xz_dec_lzma2.c: Make -Wattributes not cause error. --- diff --git a/ChangeLog b/ChangeLog index b57af6cd8..5046ad777 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-08-23 Vladimir Serbinenko + + * grub-core/lib/xzembed/xz_dec_lzma2.c: Make -Wattributes not cause + error. + 2013-08-23 Vladimir Serbinenko * config.h.in [GRUB_BUILD]: Explicitly undefine ENABLE_NLS. diff --git a/grub-core/lib/xzembed/xz_dec_lzma2.c b/grub-core/lib/xzembed/xz_dec_lzma2.c index 4f4fb8545..8a2a1183d 100644 --- a/grub-core/lib/xzembed/xz_dec_lzma2.c +++ b/grub-core/lib/xzembed/xz_dec_lzma2.c @@ -24,6 +24,8 @@ #include "xz_private.h" #include "xz_lzma2.h" +#pragma GCC diagnostic warning "-Wattributes" + /* * Range decoder initialization eats the first five bytes of each LZMA chunk. */