From 64463dfde40b4cf5e551899d656d3ef50b7a008a Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Fri, 23 Aug 2013 08:58:34 +0200 Subject: [PATCH] * grub-core/lib/xzembed/xz_dec_lzma2.c: Make -Wattributes not cause error. --- ChangeLog | 5 +++++ grub-core/lib/xzembed/xz_dec_lzma2.c | 2 ++ 2 files changed, 7 insertions(+) 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. */