opnsense-ports/archivers/macutils/files/patch-macunpack_cpt.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
718 B
C

--- macunpack/cpt.h.orig Fri Apr 16 00:31:28 1999
+++ macunpack/cpt.h Fri Apr 16 00:32:07 1999
@@ -31,7 +31,7 @@
typedef long OSType;
-typedef struct cptHdr { /* 8 bytes */
+struct cptHdr { /* 8 bytes */
unsigned char signature; /* = 1 -- for verification */
unsigned char volume; /* for multi-file archives */
unsigned short xmagic; /* verification multi-file consistency*/
@@ -42,7 +42,7 @@
unsigned char commentsize; /* number of bytes comment that follow*/
};
-typedef struct fileHdr { /* 78 bytes */
+struct fileHdr { /* 78 bytes */
unsigned char fName[32]; /* a STR32 */
unsigned char folder; /* set to 1 if a folder */
unsigned short foldersize; /* number of entries in folder */