[U-Boot-Users] [PATCH] AVR32: Change prototype of memset

Wolfgang Denk wd at denx.de
Mon Aug 27 17:36:38 CEST 2007


In message <1defaf580708270652j3bec3783s909fde25f9951f94 at mail.gmail.com> you wrote:
>
> > > and below is the fix. Any reason why sha1.c includes <linux/string.h>
> > > instead of just <string.h>?
> >
> > Because there is no "include/string.h" in U-Boot.
> 
> But there's usually a /usr/include/string.h installed with the host
> toolchain, no?

Sure. But sha1.c is  (also)  compiled  and  linked  into  the  U-Boot
binary,  and  thus  it must never reference any headers from the host
system.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Good manners are the settled  medium  of  social,  as  specie  is  of
commercial, life; returns are equally expected for both.
           - Lord Chesterfield _Letters to his Son_, 25 December 1753




More information about the U-Boot mailing list