diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-24 12:25:41 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-24 12:25:41 +0000 |
commit | c2d9fe8a0a4364cf2ea2aa3321f7882415d9326f (patch) | |
tree | 308b1de14d4ab80357e4e9adaeb440c669337341 /os | |
parent | e28ed2cd55f4facd6639e540316481ec99e5f6e1 (diff) | |
download | ChibiOS-c2d9fe8a0a4364cf2ea2aa3321f7882415d9326f.tar.gz ChibiOS-c2d9fe8a0a4364cf2ea2aa3321f7882415d9326f.tar.bz2 ChibiOS-c2d9fe8a0a4364cf2ea2aa3321f7882415d9326f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4623 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/ports/IAR/ARMCMx/chtypes.h | 7 | ||||
-rw-r--r-- | os/ports/RVCT/ARMCMx/chtypes.h | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/os/ports/IAR/ARMCMx/chtypes.h b/os/ports/IAR/ARMCMx/chtypes.h index 36e24e5c7..221b2819b 100644 --- a/os/ports/IAR/ARMCMx/chtypes.h +++ b/os/ports/IAR/ARMCMx/chtypes.h @@ -61,15 +61,14 @@ typedef int32_t cnt_t; /**< Resources counter. */ /**
* @brief Packed structure modifier (within).
- * @note It uses the "packed" GCC attribute.
+ * @note Empty in this port.
*/
-#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_STRUCT
/**
* @brief Packed structure modifier (before).
- * @note Empty in this port.
*/
-#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_BEGIN __packed
/**
* @brief Packed structure modifier (after).
diff --git a/os/ports/RVCT/ARMCMx/chtypes.h b/os/ports/RVCT/ARMCMx/chtypes.h index b9baf2502..8619dcdfe 100644 --- a/os/ports/RVCT/ARMCMx/chtypes.h +++ b/os/ports/RVCT/ARMCMx/chtypes.h @@ -61,15 +61,15 @@ typedef int32_t cnt_t; /**< Resources counter. */ /**
* @brief Packed structure modifier (within).
- * @note It uses the "packed" GCC attribute.
+ * @note Empty in this port.
*/
-#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_STRUCT
/**
* @brief Packed structure modifier (before).
* @note Empty in this port.
*/
-#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_BEGIN __packed
/**
* @brief Packed structure modifier (after).
|