From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] LIBFDT: bogus definition of fdt in libfdt_env.h
Date: Wed, 25 Apr 2007 08:08:18 -0400 [thread overview]
Message-ID: <462F44B2.8040706@smiths-aerospace.com> (raw)
In-Reply-To: <462F1243.20005@grandegger.com>
Wolfgang Grandegger wrote:
> Hi Jerry,
>
> in libfdt_env.h there is fdt defined as:
>
> struct fdt_header *fdt; /* Pointer to the working fdt */
>
> I think it should be declared "extern", because the file is included by
> more than one file. Or the declaration should be moved to cmd_fdt.c,
> because it's the only file actually using it.
>
> Wolfgang.
Hi Wolfgang G,
Yes, that is not declared properly. IIRC, I split the fdt_support.c out
of cmd_fdt.c and moved the declaration into the .h file because I
thought I would need it in more places (cmd_bootm.c, IIRC). The move
was done poorly.
I'll add figuring out the proper location and declaration to the cleanup
list. It probably should move (as a static) back into cmd_fdt.c until
it is actually needed elsewhere.
Thanks,
gvb
prev parent reply other threads:[~2007-04-25 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 8:33 [U-Boot-Users] LIBFDT: bogus definition of fdt in libfdt_env.h Wolfgang Grandegger
2007-04-25 12:08 ` Jerry Van Baren [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=462F44B2.8040706@smiths-aerospace.com \
--to=gerald.vanbaren@smiths-aerospace.com \
--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.