summaryrefslogtreecommitdiffstats
path: root/common/cmd_mem.c
diff options
context:
space:
mode:
authorWolfgang Wegner <w.wegner@astro-kom.de>2009-12-09 15:16:47 +0100
committerWolfgang Denk <wd@denx.de>2009-12-21 21:39:59 +0100
commit87d93a1ba2ae23550e1370adb7a3b00af0831165 (patch)
treed978d96503acbb9f26ea3d83db7e8682bf89e76b /common/cmd_mem.c
parentf7767c7541a8cdae55655d10f039a5bc62894ee8 (diff)
downloadtalos-obmc-uboot-87d93a1ba2ae23550e1370adb7a3b00af0831165.tar.gz
talos-obmc-uboot-87d93a1ba2ae23550e1370adb7a3b00af0831165.zip
move prototypes for gunzip() and zunzip() to common.h
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@astro-kom.de>
Diffstat (limited to 'common/cmd_mem.c')
-rw-r--r--common/cmd_mem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index a34b342f09..1839330760 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -1225,8 +1225,6 @@ int do_sha1sum(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
#endif
#ifdef CONFIG_CMD_UNZIP
-int gunzip (void *, int, unsigned char *, unsigned long *);
-
int do_unzip ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
unsigned long src, dst;
OpenPOWER on IntegriCloud