[U-Boot] [PATCH] move prototypes for gunzip() and zunzip() to common.h

Wolfgang Denk wd at denx.de
Mon Dec 21 21:40:24 CET 2009


Dear Wolfgang Wegner,

In message <1260368207-2637-1-git-send-email-w.wegner at astro-kom.de> you wrote:
> Prototype for gunzip/zunzip was only in lib_generic/gunzip.c and thus
> repeated in every file using it. This patch moves the prototypes to
> common.h and removes all prototypes distributed anywhere else.
> 
> Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
> ---
> Tested to be compile-clean for PowerPC using CodeSourcery toolchain
> freescale-4.4-78-powerpc-linux-gnu-i686-pc-linux-gnu.tar.bz2
> 
>  board/bf527-ezkit/video.c                  |    2 --
>  board/bf533-stamp/video.c                  |    2 --
>  board/bf548-ezkit/video.c                  |    2 --
>  board/cm-bf548/video.c                     |    2 --
>  board/dave/PPChameleonEVB/PPChameleonEVB.c |    3 ---
>  board/esd/apc405/apc405.c                  |    3 ---
>  board/esd/ash405/ash405.c                  |    4 ----
>  board/esd/cpci405/cpci405.c                |    1 -
>  board/esd/hh405/hh405.c                    |    4 ----
>  board/esd/pci405/pci405.c                  |    1 -
>  board/esd/plu405/plu405.c                  |    3 ---
>  board/esd/tasreg/tasreg.c                  |    1 -
>  board/esd/voh405/voh405.c                  |    4 ----
>  board/esd/wuh405/wuh405.c                  |    4 ----
>  board/mpl/common/common_util.c             |    1 -
>  board/prodrive/pdnb3/pdnb3.c               |    1 -
>  common/cmd_bmp.c                           |    2 --
>  common/cmd_bootm.c                         |    1 -
>  common/cmd_license.c                       |    1 -
>  common/cmd_mem.c                           |    2 --
>  drivers/video/cfb_console.c                |    2 --
>  fs/ubifs/ubifs.h                           |    3 ---
>  include/common.h                           |    5 +++++
>  lib_generic/gunzip.c                       |    3 ---
>  24 files changed, 5 insertions(+), 52 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
It is impractical for  the  standard  to  attempt  to  constrain  the
behavior  of code that does not obey the constraints of the standard.
                                                          - Doug Gwyn


More information about the U-Boot mailing list