From 29f03772b5f83d1c67eeef8268f160bed258fce5 Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 22 Dec 2011 19:06:04 +0000 Subject: [PATCH] Removed unnecessary structure packing. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@43176 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- compiler/include/datatypes/amigaguideclass.h | 12 ++---------- compiler/include/devices/bluetoothhci.h | 11 ++--------- compiler/include/devices/irda.h | 11 ++--------- compiler/include/devices/usbhardware.h | 11 ++--------- 4 files changed, 8 insertions(+), 37 deletions(-) diff --git a/compiler/include/datatypes/amigaguideclass.h b/compiler/include/datatypes/amigaguideclass.h index 179fa57991..3d681cde98 100644 --- a/compiler/include/datatypes/amigaguideclass.h +++ b/compiler/include/datatypes/amigaguideclass.h @@ -2,7 +2,7 @@ #define DATATYPES_AMIGAGUIDECLASS_H /* -** $VER: amigaguideclass.h 1.1 (04.09.03) +** $VER: amigaguideclass.h 1.2 (22.12.2011) */ #ifndef UTILITY_TAGITEM_H @@ -17,22 +17,14 @@ # include #endif -#if defined(__MORPHOS__) && defined(__GNUC__) -# pragma pack(2) -#endif - -#define AMIGAGUIDEDTCASS "amigaguide.datatype" +#define AMIGAGUIDEDTCLASS "amigaguide.datatype" #define AGDTA_Dummy (DTA_Dummy + 700) #define AGDTA_Secure (AGDTA_Dummy + 1) #define AGDTA_HelpGroup (AGDTA_Dummy + 2) -#if defined(__MORPHOS__) && defined(__GNUC__) -# pragma pack() -#endif - #endif /* DATATYPES_AMIGAGUIDECLASS_H */ diff --git a/compiler/include/devices/bluetoothhci.h b/compiler/include/devices/bluetoothhci.h index 18edf528ce..421d115839 100644 --- a/compiler/include/devices/bluetoothhci.h +++ b/compiler/include/devices/bluetoothhci.h @@ -1,11 +1,12 @@ #ifndef DEVICES_BLUETOOTHHCI_H #define DEVICES_BLUETOOTHHCI_H /* -** $VER: bluetoothhci.h 1.0 (28.03.05) +** $VER: bluetoothhci.h 1.1 (22.12.2011) ** ** standard bluetooth host controller interface device include file ** ** (C) Copyright 2005 Chris Hodges +** (C) Copyright 2011 AROS Development Team ** All Rights Reserved */ @@ -21,10 +22,6 @@ #include "bluetooth/hci.h" #endif -#if defined(__GNUC__) -# pragma pack(2) -#endif - /* IO Request structure */ struct IOBTHCIReq @@ -78,8 +75,4 @@ struct BTHCIEventMsg #define BTA_Copyright (BTA_Dummy + 0x15) #define BTA_DriverVersion (BTA_Dummy + 0x20) -#if defined(__GNUC__) -# pragma pack() -#endif - #endif /* DEVICES_BLUETOOTHHCI_H */ diff --git a/compiler/include/devices/irda.h b/compiler/include/devices/irda.h index 0d216b03a2..14ef534c19 100644 --- a/compiler/include/devices/irda.h +++ b/compiler/include/devices/irda.h @@ -1,11 +1,12 @@ #ifndef DEVICES_IRDA_H #define DEVICES_IRDA_H /* -** $VER: irda.h 1.0 (18.04.05) +** $VER: irda.h 1.1 (22.12.2011) ** ** standard irda host controller interface device include file ** ** (C) Copyright 2005 Chris Hodges +** (C) Copyright 2011 AROS Development Team ** All Rights Reserved */ @@ -17,10 +18,6 @@ #include #endif -#if defined(__GNUC__) -# pragma pack(2) -#endif - /* IO Request structure */ struct IOIrDAReq @@ -64,8 +61,4 @@ struct IOIrDAReq #define IRA_Copyright (IRA_Dummy + 0x15) #define IRA_DriverVersion (IRA_Dummy + 0x20) -#if defined(__GNUC__) -# pragma pack() -#endif - #endif /* DEVICES_IRDA_H */ diff --git a/compiler/include/devices/usbhardware.h b/compiler/include/devices/usbhardware.h index 62f351f6a6..4408401298 100644 --- a/compiler/include/devices/usbhardware.h +++ b/compiler/include/devices/usbhardware.h @@ -1,11 +1,12 @@ #ifndef DEVICES_USBHARDWARE_H #define DEVICES_USBHARDWARE_H /* -** $VER: usbhardware.h 2.2 (26.04.07) +** $VER: usbhardware.h 2.3 (22.12.2011) ** ** standard usb hardware device include file ** ** (C) Copyright 2002-2007 Chris Hodges +** (C) Copyright 2011 AROS Development Team ** All Rights Reserved */ @@ -21,10 +22,6 @@ #include "devices/usb.h" #endif -#if defined(__GNUC__) -# pragma pack(2) -#endif - /* IO Request structure */ struct IOUsbHWReq @@ -222,8 +219,4 @@ struct IOUsbHWBufferReq #define UHSF_SUSPENDED (1<