Am 27.08.2012 01:34 schrieb Stefan Tauner:
> This patch just fixes a limited number of bits not conforming to c99 by using
> - __asm__ instead of just asm
> - {0} instead of {} for struct initialization
> - h_addr_list[0] instead of h_addr to access the host address in
> struct hostent
> - #include <strings.h> where needed (for ffs and strcasecmp)
>
> Signed-off-by: Stefan Tauner <[email protected]>
> Acked-by: Carl-Daniel Hailfinger <[email protected]>
Cross-compilation with mingw64 and djgpp tested, works as well as
without the patch.
You might want to call the patch "C11 fixes" instead because some
complaints disappear in C11 mode. Your choice.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom