From: Wolfgang Denk Date: Fri, 04 Dec 2009 22:37:22 +0100 Subject: [U-Boot] missing gunzip prototype (was: [RFC PATCH] add ability to handle compressed images to imxtract) In-Reply-To: <4B19116D.11160.B40573@w.wegner.astro-kom.de> References: <1256916625-30792-1-git-send-email-w.wegner@astro-kom.de>, <20091202214321.0F1B84C025@gemini.denx.de> <4B19116D.11160.B40573@w.wegner.astro-kom.de> Message-ID: <20091204213722.943DD3F6E3@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 Wolfgang, In message <4B19116D.11160.B40573@w.wegner.astro-kom.de> you wrote: > > The implementation is in lib_generic/gunzip.c, and it is used by 19 other files. > I could add it to a header but have (at least) two problems with it: > - I do not know which header would be appropriate (generate a new one like > e.g. lib_generic/addr_map.c -> include/addr_map.h?) If in doubt, add it to common.h; we already have a bunch of other prototypes there. > - I can not test all the boards currently using it, as they belong to completely > different architectures Test what you can, then post. Others will test the rest. 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 "Beware of bugs in the above code; I have only proved it correct, not tried it." - Donald Knuth