/***********************************************************************
* Return the next byte in the pseudo-random sequence
*/
-static int decrypt_byte(unsigned long* pkeys, const unsigned long* /* pcrc_32_tab */)
+static int decrypt_byte(unsigned long* pkeys, const unsigned long* pcrc_32_tab)
{
unsigned temp; /* POTENTIAL BUG: temp*(temp^1) may overflow in an
* unpredictable manner on 16-bit systems; not a problem
ll->first_block = ll->last_block = NULL;
}
-#if 0
local void free_linkedlist(linkedlist_data* ll)
{
free_datablock(ll->first_block);
ll->first_block = ll->last_block = NULL;
}
-#endif
+
local int add_data_in_datablock(linkedlist_data* ll, const void* buf, uLong len)
{
/****************************************************************************/
-local uLong ziplocal_TmzDateToDosDate(const tm_zip* ptm, uLong /* dosDate */)
+local uLong ziplocal_TmzDateToDosDate(const tm_zip* ptm, uLong dosDate)
{
uLong year = (uLong)ptm->tm_year;
if (year>1980)