Hi Jeroen, On Sun, 22 Jun 2014 23:10:39 +0200, Jeroen Hofstee <jer...@myspectrum.nl> wrote:
> When compiling u-boot with W=1 the extern inline void for > read* is likely causing the most noise. gcc / clang will > warn there is never a actual declaration for these functions. > Instead of declaring these extern make them static inline so > it is actually declared. > > cc: Albert ARIBAUD <albert.u.b...@aribaud.net> > Signed-off-by: Jeroen Hofstee <jer...@myspectrum.nl> > --- Ok, so the obvious question: what makes you decide to switch to 'static inline' rather than provide the extern versions that 'extern static' calls for? (see e.g. http://elinux.org/Extern_Vs_Static_Inline for an example discussion on 'static inline' vs 'extern inline'. Note: this link is not intended as an expression of my stance on the issue, as I don't have any.) Amicalement, -- Albert. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot