[U-Boot-Users] LIBFDT: bogus definition of fdt in libfdt_env.h

Wolfgang Grandegger wg at grandegger.com
Wed Apr 25 10:33:07 CEST 2007


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.





More information about the U-Boot mailing list