diff options
Diffstat (limited to 'include/compression/huffman.h')
-rw-r--r-- | include/compression/huffman.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/compression/huffman.h b/include/compression/huffman.h index 49347de..f2ce187 100644 --- a/include/compression/huffman.h +++ b/include/compression/huffman.h @@ -12,8 +12,8 @@ #ifndef HUFFMAN_H #define HUFFMAN_H -void Ptngc_comp_conv_to_huffman(unsigned int *vals, int nvals, - unsigned int *dict, int ndict, +void Ptngc_comp_conv_to_huffman(unsigned int *vals, const int nvals, + unsigned int *dict, const int ndict, unsigned int *prob, unsigned char *huffman, int *huffman_len, @@ -23,11 +23,11 @@ void Ptngc_comp_conv_to_huffman(unsigned int *vals, int nvals, int *huffman_dict_unpackedlen); void Ptngc_comp_conv_from_huffman(unsigned char *huffman, - unsigned int *vals, int nvals, - int ndict, + unsigned int *vals, const int nvals, + const int ndict, unsigned char *huffman_dict, - int huffman_dictlen, + const int huffman_dictlen, unsigned int *huffman_dict_unpacked, - int huffman_dict_unpackedlen); + const int huffman_dict_unpackedlen); #endif |