diff options
author | Wolfgang Wegner <w.wegner@astro-kom.de> | 2009-12-09 15:16:47 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-21 21:39:59 +0100 |
commit | 87d93a1ba2ae23550e1370adb7a3b00af0831165 (patch) | |
tree | d978d96503acbb9f26ea3d83db7e8682bf89e76b /include/common.h | |
parent | f7767c7541a8cdae55655d10f039a5bc62894ee8 (diff) | |
download | u-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 'include/common.h')
-rw-r--r-- | include/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 00b5434..07897f6 100644 --- a/include/common.h +++ b/include/common.h @@ -612,6 +612,11 @@ ulong usec2ticks (unsigned long usec); ulong ticks2usec (unsigned long ticks); int init_timebase (void); +/* lib_generic/gunzip.c */ +int gunzip(void *, int, unsigned char *, unsigned long *); +int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, + int stoponerr, int offset); + /* lib_generic/time.c */ void udelay (unsigned long); |