From: Wolfgang Denk Date: Mon, 05 Sep 2011 18:02:21 +0200 Subject: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file In-Reply-To: References: <1314972139-20068-1-git-send-email-fabio.estevam@freescale.com> <201109051705.09020.marek.vasut@gmail.com> <201109051740.57608.marek.vasut@gmail.com> Message-ID: <20110905160221.6404B158D108@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Fabio Estevam, In message 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.