summaryrefslogtreecommitdiff
path: root/include/common.h
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 /include/common.h
parentf7767c7541a8cdae55655d10f039a5bc62894ee8 (diff)
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 00b543408..07897f682 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);