diff options
Diffstat (limited to 'linux-2.4.x/fs/jffs2/compr_rubin.h')
-rw-r--r-- | linux-2.4.x/fs/jffs2/compr_rubin.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/linux-2.4.x/fs/jffs2/compr_rubin.h b/linux-2.4.x/fs/jffs2/compr_rubin.h index 58ccc2b..bf1a934 100644 --- a/linux-2.4.x/fs/jffs2/compr_rubin.h +++ b/linux-2.4.x/fs/jffs2/compr_rubin.h @@ -1,7 +1,7 @@ /* Rubin encoder/decoder header */ /* work started at : aug 3, 1994 */ /* last modification : aug 15, 1994 */ -/* $Id: compr_rubin.h,v 1.5 2001/02/26 13:50:01 dwmw2 Exp $ */ +/* $Id: compr_rubin.h,v 1.7 2005/11/07 11:14:38 gleixner Exp $ */ #include "pushpull.h" @@ -11,18 +11,11 @@ struct rubin_state { - unsigned long p; - unsigned long q; + unsigned long p; + unsigned long q; unsigned long rec_q; long bit_number; struct pushpull pp; int bit_divider; int bits[8]; }; - - -void init_rubin (struct rubin_state *rs, int div, int *bits); -int encode (struct rubin_state *, long, long, int); -void end_rubin (struct rubin_state *); -void init_decode (struct rubin_state *, int div, int *bits); -int decode (struct rubin_state *, long, long); |