[Trivial Patch] Remove JFFS2 dependency on internal Zlib header (take 2)

2007-06-02 Thread Daniel Hazelton
No code besides zlib itself should depend on linux/zutil.h - the only item JFFS2 uses from that header is a constant that is defined in RFC 1950 and should never change. This patch mirrors the #define in zutil.h and removes the #include. Signed-off-by: Daniel Hazelton <[EMAIL PROTECTED]> DRH

Re: [Trivial Patch] Remove JFFS2 dependency on internal Zlib header

2007-06-02 Thread Daniel Hazelton
On Saturday 02 June 2007 20:21:13 Prakash Punnoor wrote: > Daniel Hazelton wrote: > > Signed-off-by: Daniel Hazelton <[EMAIL PROTECTED]> > > > > DRH > > > > diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c > > index 2b87fcc..9f1b935 100644 > > --- a/fs/jffs2/compr_zlib.c > > +++ b/fs/jffs

Re: [Trivial Patch] Remove JFFS2 dependency on internal Zlib header

2007-06-02 Thread Prakash Punnoor
Daniel Hazelton wrote: Signed-off-by: Daniel Hazelton <[EMAIL PROTECTED]> DRH diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c index 2b87fcc..9f1b935 100644 --- a/fs/jffs2/compr_zlib.c +++ b/fs/jffs2/compr_zlib.c @@ -16,7 +16,6 @@ #include #include #include -#include #include

[Trivial Patch] Remove JFFS2 dependency on internal Zlib header

2007-06-02 Thread Daniel Hazelton
History: During the discussion over the speed and stability of the proposed inclusion of a stripped-down, minimized version of the LZO compression algorithm it was noted that the way that patch handled separation of compression and decompression could be used for zlib as well. Then it was note