All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] AVR32: Change prototype of memset
Date: Mon, 27 Aug 2007 17:36:38 +0200	[thread overview]
Message-ID: <20070827153638.85E5124044@gemini.denx.de> (raw)
In-Reply-To: Your message of "Mon, 27 Aug 2007 15:52:28 +0200." <1defaf580708270652j3bec3783s909fde25f9951f94@mail.gmail.com>

In message <1defaf580708270652j3bec3783s909fde25f9951f94@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

      reply	other threads:[~2007-08-27 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <46C9BA81.1080803@indefia.com>
2007-08-27 13:07 ` [U-Boot-Users] [PATCH] AVR32: Change prototype of memset Haavard Skinnemoen
2007-08-27 13:17   ` Hans-Christian Egtvedt
2007-08-27 13:33   ` Wolfgang Denk
2007-08-27 13:52     ` Håvard Skinnemoen
2007-08-27 15:36       ` Wolfgang Denk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070827153638.85E5124044@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.