Skip to contentSkip to conversation

two many zlib's in the kernel

DISCUSSION David Fries 1 participant 1 message Dec 8, 2001

lore
Share & tools
lore
#0 lore raw

Seems someone duplicated the zlib. One copy is in ppp the other is in jffs2 as I listed below they are virtually identical. The problem is you can't compile both in the kernel at the same time for obvious reasons. Since I don't know the build code maybe someone else would like to fix it?

./fs/jffs2/zlib.c
./drivers/net/zlib.c

diff ./fs/jffs2/zlib.c ./drivers/net/zlib.c
436c436
< /* Didn't use ct_data typedef below to supress compiler warning */
---

Quoted 1 line
    /* Didn't use ct_data typedef below to suppress compiler warning */

692c692
< * IN assertion: all calls to to UPDATE_HASH are made with consecutive
---

Quoted 1 line

* IN assertion: all calls to UPDATE_HASH are made with consecutive

703c703
< * IN assertion: all calls to to INSERT_STRING are made with consecutive
---

Quoted 1 line

* IN assertion: all calls to INSERT_STRING are made with consecutive

2068c2068
< static int static_init_done = 0;
---

Quoted 1 line
    static int static_init_done;
Signature · 5 lines
		+---------------------------------+
		|      David Fries                |
		|      [email protected]        |
		| http://fries.net/~david/pgp.txt |
		+---------------------------------+