diff options
author | Phillip Lougher <phillip@lougher.demon.co.uk> | 2009-09-23 14:04:49 -0400 |
---|---|---|
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | 2010-01-20 16:47:47 -0500 |
commit | f1a40359f8d8ba073257ed31a513e492621bcbc5 (patch) | |
tree | 313f81085e0e3e3606cecf4cc6ed4ead59cea3ee /fs/squashfs/squashfs.h | |
parent | e6a6d3795565b8ccb957afc6ca0e50db40b2d899 (diff) |
Squashfs: factor out remaining zlib dependencies into separate wrapper file
Move zlib buffer init/destroy code into separate wrapper file. Also
make zlib z_stream field a void * removing the need to include zlib.h
for most files.
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/squashfs.h')
-rw-r--r-- | fs/squashfs/squashfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/squashfs/squashfs.h b/fs/squashfs/squashfs.h index ba87db693651..9c2f76a1c50b 100644 --- a/fs/squashfs/squashfs.h +++ b/fs/squashfs/squashfs.h | |||
@@ -71,6 +71,8 @@ extern struct inode *squashfs_iget(struct super_block *, long long, | |||
71 | extern int squashfs_read_inode(struct inode *, long long); | 71 | extern int squashfs_read_inode(struct inode *, long long); |
72 | 72 | ||
73 | /* zlib_wrapper.c */ | 73 | /* zlib_wrapper.c */ |
74 | extern void *squashfs_zlib_init(void); | ||
75 | extern void squashfs_zlib_free(void *); | ||
74 | extern int squashfs_zlib_uncompress(struct squashfs_sb_info *, void **, | 76 | extern int squashfs_zlib_uncompress(struct squashfs_sb_info *, void **, |
75 | struct buffer_head **, int, int, int, int, int); | 77 | struct buffer_head **, int, int, int, int, int); |
76 | 78 | ||