diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-22 22:32:56 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-09-23 16:35:28 +0300 |
commit | b864c387e8f16273aad1453d6457d847e29c3d25 (patch) | |
tree | 0060a2d3a8ab1eca6b81eec12a82513fd637aceb /jffs2reader.c | |
parent | 5ac748832661e7924bafd06830a247b6ff34c8c3 (diff) |
mtd-utils: clean up zlib.h usage a bit
Hide zlib's crc32 in compr_zlib.c and mkfs.ubifs/compr.c.
jffs2reader.c and mkfs.jffs2.c don't actually use zlib, so punt the
include from the file.
mkfs.jffs2.c is implicitly using crc32 from zlib.h instead of the
local mtd_crc32, so fix the local usage. otherwise we get warnings
about undefined crc32 because the file was redirecting the prototype.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'jffs2reader.c')
-rw-r--r-- | jffs2reader.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/jffs2reader.c b/jffs2reader.c index cde1d06..0ad7207 100644 --- a/jffs2reader.c +++ b/jffs2reader.c @@ -75,7 +75,6 @@ BUGS: #include <sys/stat.h> #include <sys/param.h> #include <dirent.h> -#include <zlib.h> #include <linux/jffs2.h> #define SCRATCH_SIZE (5*1024*1024) |