summaryrefslogtreecommitdiff
path: root/lib_generic
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 /lib_generic
parentf7767c7541a8cdae55655d10f039a5bc62894ee8 (diff)
downloadu-boot-imx-87d93a1ba2ae23550e1370adb7a3b00af0831165.zip
u-boot-imx-87d93a1ba2ae23550e1370adb7a3b00af0831165.tar.gz
u-boot-imx-87d93a1ba2ae23550e1370adb7a3b00af0831165.tar.bz2
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 'lib_generic')
-rw-r--r--lib_generic/gunzip.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib_generic/gunzip.c b/lib_generic/gunzip.c
index d59a448..d2b7ad4 100644
--- a/lib_generic/gunzip.c
+++ b/lib_generic/gunzip.c
@@ -36,11 +36,8 @@
#define RESERVED 0xe0
#define DEFLATED 8
-int gunzip(void *, int, unsigned char *, unsigned long *);
void *zalloc(void *, unsigned, unsigned);
void zfree(void *, void *, unsigned);
-int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp,
- int stoponerr, int offset);
void *zalloc(void *x, unsigned items, unsigned size)
{