--- pgp/src/zipup.c 2018/04/24 16:38:45 1.1.1.2 +++ pgp/src/zipup.c 2018/04/24 16:42:27 1.1.1.5 @@ -36,11 +36,8 @@ # include # define fhow (O_RDONLY|O_BINARY) # else /* !MSDOS */ -#ifndef AMIGA - int open OF((char *, int)); - int read OF((int, char *, int)); - int close OF((int)); - long lseek OF((int, long, int)); +#if !(defined(AMIGA) || defined(__NetBSD__)) + long lseek(); #endif /* AMIGA */ # define fhow 0 # endif /* ?MSDOS */ @@ -58,6 +55,8 @@ local ftype ifile; /* file to compress */ +void lm_free(); +void ct_free(); int zipup(FILE *inFile, FILE *y) /* Compress the file fileName and write it to the file *y. Return an error @@ -90,6 +89,8 @@ int zipup(FILE *inFile, FILE *y) lm_init(level, &flg); /* s = */ deflate(); } + lm_free(); + ct_free(); return(0); }