]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cmd_bdinfo: simplify local static funcs a bit
authorMike Frysinger <vapier@gentoo.org>
Sun, 4 Dec 2011 17:45:22 +0000 (17:45 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 6 Dec 2011 20:12:43 +0000 (21:12 +0100)
commitd88af4da9a8d694e2cfd98a2deefedd472817183
tree6bc94abd3c2fb154772289ebcfd08c8600514d5e
parent5c45a22b9203351a32aec4600514341b91175542
cmd_bdinfo: simplify local static funcs a bit

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 <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_bdinfo.c