]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Add missing packed attribute
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Dec 2010 17:42:44 +0000 (18:42 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Dec 2010 17:42:44 +0000 (18:42 +0100)
grub-core/fs/squash4.c

index 0f94ae0a22100c1c986edef5ddfe2165cd429234..8e8388628e2c8c2b3bf9ba5a157fe406baecc123 100644 (file)
@@ -99,7 +99,7 @@ struct grub_squash_inode
       grub_uint32_t namelen;
       char name[0];
     } __attribute__ ((packed)) symlink;
-  };
+  }  __attribute__ ((packed));
 } __attribute__ ((packed));
 
 /* Chunk-based.  */
@@ -121,13 +121,13 @@ struct grub_squash_dirent
   /* Actually the value is the length of name - 1.  */
   grub_uint16_t namelen;
   char name[0];
-};
+} __attribute__ ((packed));
 
 struct grub_squash_frag_desc
 {
   grub_uint64_t offset;
   grub_uint64_t dummy;
-};
+} __attribute__ ((packed));
 
 #define SQUASH_CHUNK_SIZE 0x2000
 #define SQUASH_CHUNK_FLAGS 0x8000