diff options
Diffstat (limited to 'crypto/comp/c_rle.c')
-rw-r--r-- | crypto/comp/c_rle.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/crypto/comp/c_rle.c b/crypto/comp/c_rle.c index b8b9b3e1bc..32fa05fa9a 100644 --- a/crypto/comp/c_rle.c +++ b/crypto/comp/c_rle.c @@ -19,17 +19,13 @@ static COMP_METHOD rle_method={ NULL, }; -COMP_METHOD *COMP_rle() +COMP_METHOD *COMP_rle(void) { return(&rle_method); } -static int rle_compress_block(ctx,out,olen,in,ilen) -COMP_CTX *ctx; -unsigned char *out; -unsigned int olen; -unsigned char *in; -unsigned int ilen; +static int rle_compress_block(COMP_CTX *ctx, unsigned char *out, + unsigned int olen, unsigned char *in, unsigned int ilen) { /* int i; */ @@ -44,12 +40,8 @@ unsigned int ilen; return(ilen+1); } -static int rle_expand_block(ctx,out,olen,in,ilen) -COMP_CTX *ctx; -unsigned char *out; -unsigned int olen; -unsigned char *in; -unsigned int ilen; +static int rle_expand_block(COMP_CTX *ctx, unsigned char *out, + unsigned int olen, unsigned char *in, unsigned int ilen) { int i; |