summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-09 13:39:53 +0000
committerAnatolij Gustschin <agust@denx.de>2012-04-30 16:54:51 +0200
commite3ed0575a7ce68c1c533978fc171c7611598dc4e (patch)
treeb3961648748950bd490b193f469b3c4d71d56702 /include
parent9a800ac718abcac0aff6f98b922ceb236f411ffd (diff)
downloadu-boot-imx-e3ed0575a7ce68c1c533978fc171c7611598dc4e.zip
u-boot-imx-e3ed0575a7ce68c1c533978fc171c7611598dc4e.tar.gz
u-boot-imx-e3ed0575a7ce68c1c533978fc171c7611598dc4e.tar.bz2
gunzip: rename z{alloc, free} to gz{alloc, free}
This allows us to add a proper zalloc() func (one that does a zeroing alloc), and removes duplicate prototypes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include')
-rw-r--r--include/u-boot/zlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/u-boot/zlib.h b/include/u-boot/zlib.h
index fb27081..fbb08a3 100644
--- a/include/u-boot/zlib.h
+++ b/include/u-boot/zlib.h
@@ -691,6 +691,9 @@ ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int windowBits,
struct internal_state {int dummy;}; /* hack for buggy compilers */
#endif
+extern void *gzalloc(void *, unsigned, unsigned);
+extern void gzfree(void *, void *, unsigned);
+
#ifdef __cplusplus
}
#endif