[U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

Wolfgang Denk wd at denx.de
Mon Sep 5 18:02:21 CEST 2011


Dear Fabio Estevam,

In message <CAOMZO5A1v5jUkXTF9nKnZh8VNewzkoMB1tMmE9cRJCJDp+y2ug at mail.gmail.com> you wrote:
>
> > But you're using extern in _header_ (.h) file ... so ... why ?
> >
> 
> My patch removes the extern from the C file and put it on a header
> file with other extern's.

What Marek probably wants to tell yet (in a bit a complicated way) is
that you should omit the "extern" in the prototype declaration. Just
remove all "extern" from the header file.

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
One essential to success is that you desire be an all-obsessing  one,
your thoughts and aims be co-ordinated, and your energy be concentra-
ted and applied without letup.


More information about the U-Boot mailing list