tinf_init(): Use proper prototype for zero arguments.
Patch by Damien George from https://github.com/micropython/micropython/pull/1082.patch
This commit is contained in:
parent
821f3bc252
commit
e42b0fc4c4
2 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ int TINFCC tinf_zlib_uncompress_dyn(TINF_DATA *d, unsigned int sourceLen);
|
|||
|
||||
/* high-level API */
|
||||
|
||||
void TINFCC tinf_init();
|
||||
void TINFCC tinf_init(void);
|
||||
|
||||
int TINFCC tinf_uncompress(void *dest, unsigned int *destLen,
|
||||
const void *source, unsigned int sourceLen);
|
||||
|
|
|
|||
|
|
@ -432,7 +432,7 @@ static int tinf_inflate_dynamic_block(TINF_DATA *d)
|
|||
* ---------------------- */
|
||||
|
||||
/* initialize global (static) data */
|
||||
void tinf_init()
|
||||
void tinf_init(void)
|
||||
{
|
||||
#ifdef RUNTIME_BITS_TABLES
|
||||
/* build extra bits and base tables */
|
||||
|
|
|
|||
Loading…
Reference in a new issue