video/xbios: remove __attribute__((packed)) SDL-1.2
authorPatrice Mandin <patmandin@gmail.com>
Wed, 31 Aug 2011 19:03:02 +0200
branchSDL-1.2
changeset 5855 1c498280b35e
parent 5854 143d7c02d626
child 5857 772a7dbfbccf
video/xbios: remove __attribute__((packed))
src/video/xbios/SDL_xbios_blowup.h
src/video/xbios/SDL_xbios_centscreen.h
src/video/xbios/SDL_xbios_milan.h
src/video/xbios/SDL_xbios_sb3.h
src/video/xbios/SDL_xbios_tveille.h
--- a/src/video/xbios/SDL_xbios_blowup.h	Tue Aug 30 23:53:53 2011 +0200
+++ b/src/video/xbios/SDL_xbios_blowup.h	Wed Aug 31 19:03:02 2011 +0200
@@ -70,14 +70,14 @@
 	unsigned short	registers_C0;	/* value for register 0xffff82c0 */
 	unsigned short	registers_C2;	/* value for register 0xffff82c2 */
 	unsigned short	dummy40[30];
-} __attribute__((packed)) blow_mode_t;
+} blow_mode_t;
 
 typedef struct {
 	blow_mode_t	blowup_modes[10];
 	unsigned char	num_mode[6];
 	unsigned long	dummy;
 	unsigned short	montype;
-} __attribute__((packed)) blow_cookie_t;
+} blow_cookie_t;
 
 /*--- Functions prototypes ---*/
 
--- a/src/video/xbios/SDL_xbios_centscreen.h	Tue Aug 30 23:53:53 2011 +0200
+++ b/src/video/xbios/SDL_xbios_centscreen.h	Wed Aug 31 19:03:02 2011 +0200
@@ -60,7 +60,7 @@
 	unsigned short	hsize;	/* screen height (mm) */
 	unsigned short	dummy[21];
 	unsigned char	name[32];	/* videomode name */
-} __attribute__((packed)) centscreen_mode_t;
+} centscreen_mode_t;
 
 /*--- Functions prototypes ---*/
 
--- a/src/video/xbios/SDL_xbios_milan.h	Tue Aug 30 23:53:53 2011 +0200
+++ b/src/video/xbios/SDL_xbios_milan.h	Wed Aug 31 19:03:02 2011 +0200
@@ -91,7 +91,7 @@
 	unsigned long	blk_w;		/* width */ 
 	unsigned long	blk_h;		/* height */ 
 	unsigned long	blk_wrap;	/* width in bytes */ 
-} __attribute__((packed)) SCRMEMBLK;
+} SCRMEMBLK;
 
 typedef struct screeninfo { 
 	unsigned long	size;		/* Size of structure */ 
@@ -120,7 +120,7 @@
 	unsigned long	pagemem;	/* needed memory for one page */ 
 	unsigned long	max_x;		/* max. possible width */ 
 	unsigned long	max_y;		/* max. possible heigth */ 
-} __attribute__((packed)) SCREENINFO; 
+} SCREENINFO; 
 
 /*--- Functions prototypes ---*/
 
--- a/src/video/xbios/SDL_xbios_sb3.h	Tue Aug 30 23:53:53 2011 +0200
+++ b/src/video/xbios/SDL_xbios_sb3.h	Wed Aug 31 19:03:02 2011 +0200
@@ -57,7 +57,7 @@
 	unsigned long	size;	/* Size of screen in bytes */
 	unsigned short	device;	/* Device number to find planes = getRez() */
 							/* = Index in scpn_planes_device[] */
-} __attribute__((packed)) scpn_screeninfo_t;
+} scpn_screeninfo_t;
 
 typedef struct {
 	unsigned long	magic;	/* just a BRA assembler jump */
@@ -71,7 +71,7 @@
 	unsigned short	dummy4;
 	scpn_screeninfo_t	*screen_info;
 	unsigned short	dummy6;
-} __attribute__((packed)) scpn_cookie_t;
+} scpn_cookie_t;
 
 /*--- Function prototypes ---*/
 
--- a/src/video/xbios/SDL_xbios_tveille.h	Tue Aug 30 23:53:53 2011 +0200
+++ b/src/video/xbios/SDL_xbios_tveille.h	Wed Aug 31 19:03:02 2011 +0200
@@ -53,7 +53,7 @@
 	unsigned char	serial_redir;
 	unsigned char	dummy4;
 	void		(*oldserial_ptr)();
-} __attribute__((packed)) tveille_t;
+} tveille_t;
 
 /*--- Functions prototypes ---*/