sparc.c | sparc.c | |||
---|---|---|---|---|
skipping to change at line 58 | skipping to change at line 58 | |||
buffer[i + 1] = (uint8_t)(dest >> 16); | buffer[i + 1] = (uint8_t)(dest >> 16); | |||
buffer[i + 2] = (uint8_t)(dest >> 8); | buffer[i + 2] = (uint8_t)(dest >> 8); | |||
buffer[i + 3] = (uint8_t)(dest); | buffer[i + 3] = (uint8_t)(dest); | |||
} | } | |||
} | } | |||
return i; | return i; | |||
} | } | |||
static lzma_ret | static lzma_ret | |||
sparc_coder_init(lzma_next_coder *next, lzma_allocator *allocator, | sparc_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, | |||
const lzma_filter_info *filters, bool is_encoder) | const lzma_filter_info *filters, bool is_encoder) | |||
{ | { | |||
return lzma_simple_coder_init(next, allocator, filters, | return lzma_simple_coder_init(next, allocator, filters, | |||
&sparc_code, 0, 4, 4, is_encoder); | &sparc_code, 0, 4, 4, is_encoder); | |||
} | } | |||
extern lzma_ret | extern lzma_ret | |||
lzma_simple_sparc_encoder_init(lzma_next_coder *next, | lzma_simple_sparc_encoder_init(lzma_next_coder *next, | |||
lzma_allocator *allocator, const lzma_filter_info *filters) | const lzma_allocator *allocator, | |||
const lzma_filter_info *filters) | ||||
{ | { | |||
return sparc_coder_init(next, allocator, filters, true); | return sparc_coder_init(next, allocator, filters, true); | |||
} | } | |||
extern lzma_ret | extern lzma_ret | |||
lzma_simple_sparc_decoder_init(lzma_next_coder *next, | lzma_simple_sparc_decoder_init(lzma_next_coder *next, | |||
lzma_allocator *allocator, const lzma_filter_info *filters) | const lzma_allocator *allocator, | |||
const lzma_filter_info *filters) | ||||
{ | { | |||
return sparc_coder_init(next, allocator, filters, false); | return sparc_coder_init(next, allocator, filters, false); | |||
} | } | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |