freebsd-ports/archivers/macutils/files/patch-macunpack_lzh.c
Adam Weinberger e2aedd8abd Start cleaning up some of the uselessly ambigious patches named
patch-xy, and giving them proper names.
2014-07-27 15:27:04 +00:00

31 lines
703 B
C

--- macunpack/lzh.c.orig 2014-07-27 11:11:36.000000000 -0400
+++ macunpack/lzh.c 2014-07-27 11:11:39.000000000 -0400
@@ -23,7 +23,7 @@
extern unsigned char (*lzah_getbyte)();
extern void de_lzh();
-typedef struct methodinfo {
+struct methodinfo {
char *name;
int number;
};
@@ -40,13 +40,13 @@
{"-lzs-", lzs}
};
static char *lzh_archive;
-static char *lzh_pointer;
-static char *lzh_data;
-static char *lzh_finfo;
-static int lzh_fsize;
-static int lzh_kind;
+char *lzh_pointer;
+char *lzh_data;
+char *lzh_finfo;
+int lzh_fsize;
+int lzh_kind;
static int oldsize;
-static char *lzh_file;
+char *lzh_file;
static int lzh_filesize;
static char *lzh_current;
static char *tmp_out_ptr;