* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Use define for defining

memset rather than inline static function.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-18 17:18:15 +02:00
parent 92c88fc896
commit 1e3e741940
2 changed files with 6 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Use define for defining
memset rather than inline static function.
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/xzembed/xz_config.h: Enable all bcj filters when

View file

@ -52,15 +52,9 @@ fips_mode (void)
}
#ifdef GRUB_UTIL
#pragma GCC diagnostic ignored "-Wshadow"
static inline void *
memset (void *s, int c, grub_size_t n)
{
return grub_memset (s, c, n);
}
#define memset grub_memset
#pragma GCC diagnostic error "-Wshadow"
#endif