* include/grub/types.h: Declare all byteswaps as inline functions
except compile-time ones. Solves variable shadowing in constructions like cpu_to_le (le_to_cpu(x) + 1).
This commit is contained in:
parent
47f88cc94e
commit
85eb579ad9
2 changed files with 30 additions and 25 deletions
|
@ -1,3 +1,11 @@
|
|||
2013-12-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* include/grub/types.h: Declare all byteswaps as inline functions
|
||||
except compile-time ones.
|
||||
|
||||
Solves variable shadowing in constructions like
|
||||
cpu_to_le (le_to_cpu(x) + 1).
|
||||
|
||||
2013-12-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/efi/efi.c: Remove variable length arrays.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue