summaryrefslogtreecommitdiff
path: root/sys/lib/libz/inffast.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-02-14 19:47:38 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-02-14 19:47:38 +0000
commit0bc96222c206ba8dbc13dd4c549a56e44bbbe2a6 (patch)
treee2dc73aba88b04dd68f34ce4bdc938b343d2d2c2 /sys/lib/libz/inffast.c
parentf1605e823982b5ad049c62d5be3b338e00cef171 (diff)
fix -DDEBUG case, ie remove L-user-and stuff such as fprintf and stderr.
another obvious fix would be porting stdio file functions into stand library, so code would go smooth from -lz, but former seems to be a minimal-change-compliant approach.
Diffstat (limited to 'sys/lib/libz/inffast.c')
-rw-r--r--sys/lib/libz/inffast.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/lib/libz/inffast.c b/sys/lib/libz/inffast.c
index 61a78ee933f..72228af9184 100644
--- a/sys/lib/libz/inffast.c
+++ b/sys/lib/libz/inffast.c
@@ -60,7 +60,7 @@ z_streamp z;
if ((e = (t = tl + ((uInt)b & ml))->exop) == 0)
{
DUMPBITS(t->bits)
- Tracevv((stderr, t->base >= 0x20 && t->base < 0x7f ?
+ Tracevv((t->base >= 0x20 && t->base < 0x7f ?
"inflate: * literal '%c'\n" :
"inflate: * literal 0x%02x\n", t->base));
*q++ = (Byte)t->base;
@@ -75,7 +75,7 @@ z_streamp z;
e &= 15;
c = t->base + ((uInt)b & inflate_mask[e]);
DUMPBITS(e)
- Tracevv((stderr, "inflate: * length %u\n", c));
+ Tracevv(("inflate: * length %u\n", c));
/* decode distance base of block to copy */
GRABBITS(15); /* max bits for distance code */
@@ -89,7 +89,7 @@ z_streamp z;
GRABBITS(e) /* get extra bits (up to 13) */
d = t->base + ((uInt)b & inflate_mask[e]);
DUMPBITS(e)
- Tracevv((stderr, "inflate: * distance %u\n", d));
+ Tracevv(("inflate: * distance %u\n", d));
/* do the copy */
m -= c;
@@ -138,7 +138,7 @@ z_streamp z;
if ((e = (t += ((uInt)b & inflate_mask[e]))->exop) == 0)
{
DUMPBITS(t->bits)
- Tracevv((stderr, t->base >= 0x20 && t->base < 0x7f ?
+ Tracevv((t->base >= 0x20 && t->base < 0x7f ?
"inflate: * literal '%c'\n" :
"inflate: * literal 0x%02x\n", t->base));
*q++ = (Byte)t->base;
@@ -148,7 +148,7 @@ z_streamp z;
}
else if (e & 32)
{
- Tracevv((stderr, "inflate: * end of block\n"));
+ Tracevv(("inflate: * end of block\n"));
UNGRAB
UPDATE
return Z_STREAM_END;