From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 06 Dec 2011 21:18:23 +0100 Subject: [U-Boot] [PATCH v2] cmd_bdinfo: simplify local static funcs a bit In-Reply-To: <1323056722-22453-1-git-send-email-vapier@gentoo.org> References: <1320022463-26410-1-git-send-email-vapier@gentoo.org> <1323056722-22453-1-git-send-email-vapier@gentoo.org> Message-ID: <20111206201823.306FC1A32820@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 Mike Frysinger, In message <1323056722-22453-1-git-send-email-vapier@gentoo.org> you wrote: > If we move the local funcs to the top of the file, and use the > __maybe_unused define, we can drop a lot of ugly ifdef logic and > duplicated prototypes. > > Acked-by: Simon Glass > Signed-off-by: Mike Frysinger > --- > v2 > - rebased onto current master > > common/cmd_bdinfo.c | 89 ++++++++++++++++++--------------------------------- > 1 files changed, 31 insertions(+), 58 deletions(-) Applied, thanks. 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 "I've seen it. It's rubbish." - Marvin the Paranoid Android