use PACKED for bregs declaration
authorKevin O'Connor <kevin@koconnor.net>
Tue, 11 Mar 2008 23:54:55 +0000 (19:54 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 11 Mar 2008 23:54:55 +0000 (19:54 -0400)
This patch makes bregs structure declared with PACKED macro (biosvar.h)

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
src/biosvar.h

index 885d308..4def7f3 100644 (file)
@@ -301,7 +301,7 @@ struct bregs {
     u16 ip;
     u16 cs;
     u16 flags;
-} __attribute__((packed));
+} PACKED;
 
 // bregs flags bitdefs
 #define F_ZF (1<<6)