diff --git a/ChangeLog b/ChangeLog index 69efb31bc..a717ad5c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-11-07 Vladimir Serbinenko + + * grub-core/gettext/gettext.c (main_context), (secondary_context): + Define after defining type and not before. + 2013-11-07 Vladimir Serbinenko * grub-core/fs/zfs/zfscrypt.c (grub_ccm_decrypt): Return right error diff --git a/grub-core/gettext/gettext.c b/grub-core/gettext/gettext.c index df7357002..4880cefe3 100644 --- a/grub-core/gettext/gettext.c +++ b/grub-core/gettext/gettext.c @@ -34,8 +34,6 @@ GRUB_MOD_LICENSE ("GPLv3+"); http://www.gnu.org/software/autoconf/manual/gettext/MO-Files.html . */ -static struct grub_gettext_context main_context, secondary_context; - static const char *(*grub_gettext_original) (const char *s); struct grub_gettext_msg @@ -69,6 +67,8 @@ struct grub_gettext_context struct grub_gettext_msg *grub_gettext_msg_list; }; +static struct grub_gettext_context main_context, secondary_context; + #define MO_MAGIC_NUMBER 0x950412de static grub_err_t