From e3ed0575a7ce68c1c533978fc171c7611598dc4e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 9 Apr 2012 13:39:53 +0000 Subject: 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 --- include/u-boot/zlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/u-boot') 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 -- cgit v1.1