diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-01 01:41:31 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-01 01:41:31 +0100 |
commit | 99ac1759dd429bd7995feff33dc683589c016c8e (patch) | |
tree | 5041e213bb4c4653f6dac19ce059c48218df32f9 /include | |
parent | 97058d0585c29ed5fd57196f71642a419a53e546 (diff) | |
download | busybox-w32-99ac1759dd429bd7995feff33dc683589c016c8e.tar.gz busybox-w32-99ac1759dd429bd7995feff33dc683589c016c8e.tar.bz2 busybox-w32-99ac1759dd429bd7995feff33dc683589c016c8e.zip |
lzop: code shrink
function old new delta
lzo_decompress 526 524 -2
lzo_compress 473 470 -3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/liblzo_interface.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/liblzo_interface.h b/include/liblzo_interface.h index b7f1b639b..1e194b944 100644 --- a/include/liblzo_interface.h +++ b/include/liblzo_interface.h | |||
@@ -49,12 +49,10 @@ int lzo1x_999_compress_level(const uint8_t* in, unsigned in_len, | |||
49 | 49 | ||
50 | /* decompression */ | 50 | /* decompression */ |
51 | //int lzo1x_decompress(const uint8_t* src, unsigned src_len, | 51 | //int lzo1x_decompress(const uint8_t* src, unsigned src_len, |
52 | // uint8_t* dst, unsigned* dst_len, | 52 | // uint8_t* dst, unsigned* dst_len /*, void* wrkmem */); |
53 | // void* wrkmem /* NOT USED */); | ||
54 | /* safe decompression with overrun testing */ | 53 | /* safe decompression with overrun testing */ |
55 | int lzo1x_decompress_safe(const uint8_t* src, unsigned src_len, | 54 | int lzo1x_decompress_safe(const uint8_t* src, unsigned src_len, |
56 | uint8_t* dst, unsigned* dst_len, | 55 | uint8_t* dst, unsigned* dst_len /*, void* wrkmem */); |
57 | void* wrkmem /* NOT USED */); | ||
58 | 56 | ||
59 | #define LZO_E_OK 0 | 57 | #define LZO_E_OK 0 |
60 | #define LZO_E_ERROR (-1) | 58 | #define LZO_E_ERROR (-1) |