And this with extracted code:
typedef struct {
unsigned char op;
unsigned char bits;
unsigned short val;
} code;
typedef enum {
CODES,
LENS,
DISTS
} codetype;
int inflate_table(codetype type, unsigned short *lens, unsigned codes, code * *table, unsigned *bits, unsigned short *work);
const char inflate_copyright[] =
" inflate 1.2.5 Copyright 1995-2010 Mark Adler ";
int inflate_table(type, lens, codes, table, bits, work)
codetype type;
unsigned short *lens;
unsigned codes;
code * *table;
unsigned *bits;
unsigned short *work;
{
return 0;
}
inftrees-1.c(25): error #2120: Redeclaration of 'inflate_table', previously declared at C:\code\PellesC\test_6.5\zlib_test\inftrees-1.c(13); expected 'int __cdecl function(codetype, unsigned short int *, unsigned int, code * *, unsigned int *, unsigned short int *)' but found 'int __cdecl function()'.
*** Error code: 1 ***