mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
Fix compilation with older compilers.
* grub-core/Makefile.core.def (mpi): Add mpi-inline.c. * grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Remove redundant declarations. * grub-core/lib/posix_wrap/string.h: Include sys/types.h. * grub-core/lib/posix_wrap/sys/types.h: Add common types. * grub-core/lib/xzembed/xz_dec_lzma2.c (dict_put): Replace byte identifier with b. * grub-core/lib/xzembed/xz_dec_stream.c (dec_vli): Likewise. * include/grub/crypto.h: Add type defines. * util/import_gcrypth.sed: Remove duplicate type defines.
This commit is contained in:
1 parent
adcc602041
commit
4a9950ecb0
9 files changed
+39
-17
No files matched your search
@@ -327,9 +327,9 @@ static inline uint32_t dict_get(
|
||||
/*
|
||||
* Put one byte into the dictionary. It is assumed that there is space for it.
|
||||
*/
|
||||
static inline void dict_put(struct dictionary *dict, uint8_t byte)
|
||||
static inline void dict_put(struct dictionary *dict, uint8_t b)
|
||||
{
|
||||
dict->buf[dict->pos++] = byte;
|
||||
dict->buf[dict->pos++] = b;
|
||||
|
||||
if (dict->full < dict->pos)
|
||||
dict->full = dict->pos;
|
||||
|
||||
Reference in new issue
Block a user