flate

deflate implementation
git clone git://git.suckless.org/flate
Log | Files | Refs | README

commit 92913b23713f768bc4467f5e29c9c0a4997d5b70
parent 4fcde3912027a729b762b199ba1f0b25209374b2
Author: nsz <nszabolcs@gmail.com>
Date:   Wed, 29 Apr 2009 10:48:32 +0200

comment m
Diffstat:
inflate.c | 2+-
inflate_simple.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/inflate.c b/inflate.c @@ -1,8 +1,8 @@ /* TODO: check int types + better io model better error handling - clever io */ typedef unsigned char uchar; diff --git a/inflate_simple.c b/inflate_simple.c @@ -15,7 +15,7 @@ enum { typedef struct { ushort count[HuffBits]; /* code length -> count */ - ushort symbol[Nlitlen]; /* symbols ordered by code length */ + ushort symbol[Nlitlen]; /* symbols ordered by code length */ } HuffTree; typedef struct { @@ -239,7 +239,7 @@ static void inflate_dynamic_block(FlateStream *s) { } -/* extern functions */ +/* extern */ /* initialize global (static) data */ void inflate_init(void) {