--- pgp/src/zipup.c 2018/04/24 16:37:53 1.1.1.1 +++ pgp/src/zipup.c 2018/04/24 16:41:10 1.1.1.4 @@ -16,9 +16,6 @@ #include #include "zip.h" #include "zrevisio.h" -#ifdef OS2 -# include "dir_os2.h" -#endif /* OS2 */ /* Use the raw functions for MSDOS and Unix to save on buffer space. They're not used for VMS since it doesn't work (raw is weird on VMS). @@ -40,10 +37,7 @@ # 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)); + long lseek(); #endif /* AMIGA */ # define fhow 0 # endif /* ?MSDOS */ @@ -61,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 @@ -93,6 +89,8 @@ int zipup(FILE *inFile, FILE *y) lm_init(level, &flg); /* s = */ deflate(); } + lm_free(); + ct_free(); return(0); }