changeset 2002:5cec199f49f8

Remove useless __packed__ attributes.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 03 Jul 2018 09:46:35 +0300
parents c0b062f881e5
children 2ae47dcaaf10
files minijss/jssmod.h
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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;