From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Date: Wed, 25 Apr 2007 10:33:07 +0200 Subject: [U-Boot-Users] LIBFDT: bogus definition of fdt in libfdt_env.h Message-ID: <462F1243.20005@grandegger.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.