# HG changeset patch # User Matti Hamalainen # Date 1530600395 -10800 # Node ID 5cec199f49f8d3fef4a76af6e4244b944eabf96c # Parent c0b062f881e58876981f15f4e97acd3f41a87dbd Remove useless __packed__ attributes. diff -r c0b062f881e5 -r 5cec199f49f8 minijss/jssmod.h --- a/minijss/jssmod.h Tue Jul 03 09:46:19 2018 +0300 +++ b/minijss/jssmod.h Tue Jul 03 09:46:35 2018 +0300 @@ -194,7 +194,7 @@ /* JSSMOD typedefs */ -typedef struct __attribute__((__packed__)) +typedef struct { char idMagic[2]; // "JM" Uint8 idVersion; // 0x10 for 1.0, etc. @@ -231,13 +231,13 @@ } JSSMODHeader; -typedef struct __attribute__((__packed__)) +typedef struct { Uint16 frame, value; } JSSMODEnvelopePoint; -typedef struct __attribute__((__packed__)) +typedef struct { Uint8 flags, @@ -249,7 +249,7 @@ } JSSMODEnvelope; -typedef struct __attribute__((__packed__)) +typedef struct { Uint8 nsamples, vibratoType; @@ -262,7 +262,7 @@ } JSSMODExtInstrument; -typedef struct __attribute__((__packed__)) +typedef struct { Uint32 size, // Length in units loopS, // Loop start position in units @@ -286,7 +286,7 @@ #define JM_COMP_ALL (JM_COMP_NOTE | JM_COMP_INSTRUMENT | JM_COMP_VOLUME | JM_COMP_EFFECT | JM_COMP_PARAM) -typedef struct __attribute__((__packed__)) +typedef struct { Uint32 size; Uint16 nrows;