From 7f5ef116ed8c5a7fc0689fdf3bd2c007aba062e3 Mon Sep 17 00:00:00 2001 From: Patrice Mandin Date: Wed, 31 Aug 2011 19:03:02 +0200 Subject: [PATCH] video/xbios: remove __attribute__((packed)) --HG-- branch : SDL-1.2 --- src/video/xbios/SDL_xbios_blowup.h | 4 ++-- src/video/xbios/SDL_xbios_centscreen.h | 2 +- src/video/xbios/SDL_xbios_milan.h | 4 ++-- src/video/xbios/SDL_xbios_sb3.h | 4 ++-- src/video/xbios/SDL_xbios_tveille.h | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/video/xbios/SDL_xbios_blowup.h b/src/video/xbios/SDL_xbios_blowup.h index c97ce43fc..505f11c8d 100644 --- a/src/video/xbios/SDL_xbios_blowup.h +++ b/src/video/xbios/SDL_xbios_blowup.h @@ -70,14 +70,14 @@ typedef struct { 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 ---*/ diff --git a/src/video/xbios/SDL_xbios_centscreen.h b/src/video/xbios/SDL_xbios_centscreen.h index 5187d2063..ada7c70b3 100644 --- a/src/video/xbios/SDL_xbios_centscreen.h +++ b/src/video/xbios/SDL_xbios_centscreen.h @@ -60,7 +60,7 @@ typedef struct { 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 ---*/ diff --git a/src/video/xbios/SDL_xbios_milan.h b/src/video/xbios/SDL_xbios_milan.h index a3b983777..a2461c553 100644 --- a/src/video/xbios/SDL_xbios_milan.h +++ b/src/video/xbios/SDL_xbios_milan.h @@ -91,7 +91,7 @@ typedef struct _scrblk { 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 @@ typedef struct screeninfo { 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 ---*/ diff --git a/src/video/xbios/SDL_xbios_sb3.h b/src/video/xbios/SDL_xbios_sb3.h index d98202b33..80bdfe335 100644 --- a/src/video/xbios/SDL_xbios_sb3.h +++ b/src/video/xbios/SDL_xbios_sb3.h @@ -57,7 +57,7 @@ typedef struct { 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 @@ typedef struct { unsigned short dummy4; scpn_screeninfo_t *screen_info; unsigned short dummy6; -} __attribute__((packed)) scpn_cookie_t; +} scpn_cookie_t; /*--- Function prototypes ---*/ diff --git a/src/video/xbios/SDL_xbios_tveille.h b/src/video/xbios/SDL_xbios_tveille.h index 3b4f3baab..e9f64979d 100644 --- a/src/video/xbios/SDL_xbios_tveille.h +++ b/src/video/xbios/SDL_xbios_tveille.h @@ -53,7 +53,7 @@ typedef struct { unsigned char serial_redir; unsigned char dummy4; void (*oldserial_ptr)(); -} __attribute__((packed)) tveille_t; +} tveille_t; /*--- Functions prototypes ---*/