]> git.ipfire.org Git - thirdparty/grub.git/commit
* include/grub/types.h: Declare all byteswaps as inline functions
authorVladimir Serbinenko <phcoder@gmail.com>
Wed, 4 Dec 2013 07:42:35 +0000 (08:42 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 4 Dec 2013 07:42:35 +0000 (08:42 +0100)
commit85eb579ad9e762f711cdcfe973683e7652dae174
treee1e7d59ea7692f01f28e3a28717955903a3b3ba8
parent47f88cc94e1200c3ab5efd5ebc32dfa6f2487dc9
* 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).
ChangeLog
include/grub/types.h