igzip: mark internal igzip.c function static

detect_repeated_char_length() is only used within igzip.c.

Change-Id: I77ee5422e2cb58d81b9705ebcfad68f3a7017d6b
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2018-03-12 09:24:37 -07:00
parent bc78944634
commit 575664e78b

View File

@ -703,7 +703,7 @@ static void write_constant_compressed_stateless(struct isal_zstream *stream,
return;
}
int detect_repeated_char_length(uint8_t * in, uint32_t length)
static int detect_repeated_char_length(uint8_t * in, uint32_t length)
{
/* This currently assumes the first 8 bytes are the same character.
* This won't work effectively if the input stream isn't aligned well. */