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:
Paul Sokolovsky 2015-03-19 00:01:26 +02:00
parent 821f3bc252
commit e42b0fc4c4
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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 */