mirror of
https://github.com/intel/isa-l.git
synced 2025-01-31 10:31:12 +01:00
igzip: Change a few conflicting functions to static
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
parent
48d7def5d9
commit
a7fad4b9d2
@ -98,11 +98,10 @@ void isal_deflate_icf_finish(struct isal_zstream *stream);
|
||||
|
||||
/* Forward declarations */
|
||||
static inline void reset_match_history(struct isal_zstream *stream);
|
||||
void write_header(struct isal_zstream *stream, uint8_t * deflate_hdr,
|
||||
uint32_t deflate_hdr_count, uint32_t extra_bits_count, uint32_t next_state,
|
||||
uint32_t toggle_end_of_stream);
|
||||
void write_deflate_header(struct isal_zstream *stream);
|
||||
void write_trailer(struct isal_zstream *stream);
|
||||
static void write_header(struct isal_zstream *stream, uint8_t * deflate_hdr,
|
||||
uint32_t deflate_hdr_count, uint32_t extra_bits_count,
|
||||
uint32_t next_state, uint32_t toggle_end_of_stream);
|
||||
static void write_trailer(struct isal_zstream *stream);
|
||||
|
||||
struct slver {
|
||||
uint16_t snum;
|
||||
@ -1288,9 +1287,9 @@ static int write_deflate_header_unaligned_stateless(struct isal_zstream *stream)
|
||||
}
|
||||
|
||||
/* Toggle end of stream only works when deflate header is aligned */
|
||||
void write_header(struct isal_zstream *stream, uint8_t * deflate_hdr,
|
||||
uint32_t deflate_hdr_count, uint32_t extra_bits_count,
|
||||
uint32_t next_state, uint32_t toggle_end_of_stream)
|
||||
static void write_header(struct isal_zstream *stream, uint8_t * deflate_hdr,
|
||||
uint32_t deflate_hdr_count, uint32_t extra_bits_count,
|
||||
uint32_t next_state, uint32_t toggle_end_of_stream)
|
||||
{
|
||||
struct isal_zstate *state = &stream->internal_state;
|
||||
uint32_t hdr_extra_bits = deflate_hdr[deflate_hdr_count];
|
||||
@ -1354,7 +1353,7 @@ void write_header(struct isal_zstream *stream, uint8_t * deflate_hdr,
|
||||
|
||||
}
|
||||
|
||||
void write_trailer(struct isal_zstream *stream)
|
||||
static void write_trailer(struct isal_zstream *stream)
|
||||
{
|
||||
struct isal_zstate *state = &stream->internal_state;
|
||||
unsigned int bytes = 0;
|
||||
|
@ -832,7 +832,7 @@ static int inline setup_dynamic_header(struct inflate_state *state)
|
||||
|
||||
/* Reads in the header pointed to by in_stream and sets up state to reflect that
|
||||
* header information*/
|
||||
int read_header(struct inflate_state *state)
|
||||
static int read_header(struct inflate_state *state)
|
||||
{
|
||||
uint8_t bytes;
|
||||
uint32_t btype;
|
||||
@ -895,7 +895,7 @@ int read_header(struct inflate_state *state)
|
||||
|
||||
/* Reads in the header pointed to by in_stream and sets up state to reflect that
|
||||
* header information*/
|
||||
int read_header_stateful(struct inflate_state *state)
|
||||
static int read_header_stateful(struct inflate_state *state)
|
||||
{
|
||||
uint64_t read_in_start = state->read_in;
|
||||
int32_t read_in_length_start = state->read_in_length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user