[flashrom] [PATCH] Some c99 fixes.
Stefan Tauner
stefan.tauner at student.tuwien.ac.at
Mon Aug 27 02:45:36 CEST 2012
On Mon, 27 Aug 2012 01:47:39 +0200
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> wrote:
> 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 <stefan.tauner at student.tuwien.ac.at>
> > Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>
> Cross-compilation with mingw64 and djgpp tested, works as well as
> without the patch.
yay, thanks
committed in r1585.
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
More information about the flashrom
mailing list