On Tue, Jan 24, 2017 at 10:08 AM, Bjørn Forsman <bjorn.fors...@gmail.com> wrote:
> On 24 January 2017 at 02:33, Vladimir 'phcoder' Serbinenko
> <phco...@gmail.com> wrote:
>> All files in posix_wrap are only for porting code to GRUB with little
>> modification. No GRUB-specific code should use it.
>
> That only explains half of it :-)
>
> What is better about writing grub_uint32_t instead of uint32_t? (To me
> it looks like a pointless indirection.)
>

GRUB boot time code is built without any standard headers at all, so
there is absolutely no difference between defining grub_uint32_t or
uint32_t, in both cases it must be defined in one of grub headers.
There is no indirection at all, because no uint32_t exists. For your
project you can add defines to avoid non-functional changes and then
simply do mass replace ones when porting is complete :)

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to