summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-09-07 13:51:39 +0000
committernakeee <nakeee@gmail.com>2008-09-07 13:51:39 +0000
commite77e1cbabcc9825404fd0ca5f3435049e7bbc71d (patch)
treeea5b1c8be7af5b2759560698a65481f3e8c08b72 /Source/Core
parent6cd9700dcfca2c101e362fc5da51769c52a2c5ea (diff)
removed unesserary __attribute__ ((packed));
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@457 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/IPC_HLE/l2cap.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/Source/Core/Core/Src/IPC_HLE/l2cap.h b/Source/Core/Core/Src/IPC_HLE/l2cap.h
index 55f471b105..e04ddfe229 100644
--- a/Source/Core/Core/Src/IPC_HLE/l2cap.h
+++ b/Source/Core/Core/Src/IPC_HLE/l2cap.h
@@ -96,31 +96,31 @@ struct l2cap_conninfo {
struct l2cap_hdr {
__le16 len;
__le16 cid;
-} __attribute__ ((packed));
+};
#define L2CAP_HDR_SIZE 4
struct l2cap_cmd_hdr {
__u8 code;
__u8 ident;
__le16 len;
-} __attribute__ ((packed));
+};
#define L2CAP_CMD_HDR_SIZE 4
struct l2cap_cmd_rej {
__le16 reason;
-} __attribute__ ((packed));
+};
struct l2cap_conn_req {
__le16 psm;
__le16 scid;
-} __attribute__ ((packed));
+};
struct l2cap_conn_rsp {
__le16 dcid;
__le16 scid;
__le16 result;
__le16 status;
-} __attribute__ ((packed));
+};
/* connect result */
#define L2CAP_CR_SUCCESS 0x0000
@@ -138,14 +138,14 @@ struct l2cap_conf_req {
__le16 dcid;
__le16 flags;
__u8 data[0];
-} __attribute__ ((packed));
+};
struct l2cap_conf_rsp {
__le16 scid;
__le16 flags;
__le16 result;
__u8 data[0];
-} __attribute__ ((packed));
+};
#define L2CAP_CONF_SUCCESS 0x0000
#define L2CAP_CONF_UNACCEPT 0x0001
@@ -156,7 +156,7 @@ struct l2cap_conf_opt {
__u8 type;
__u8 len;
__u8 val[0];
-} __attribute__ ((packed));
+};
#define L2CAP_CONF_OPT_SIZE 2
#define L2CAP_CONF_MTU 0x01
@@ -182,22 +182,22 @@ struct l2cap_conf_rfc {
struct l2cap_disconn_req {
__le16 dcid;
__le16 scid;
-} __attribute__ ((packed));
+};
struct l2cap_disconn_rsp {
__le16 dcid;
__le16 scid;
-} __attribute__ ((packed));
+};
struct l2cap_info_req {
__le16 type;
-} __attribute__ ((packed));
+};
struct l2cap_info_rsp {
__le16 type;
__le16 result;
__u8 data[0];
-} __attribute__ ((packed));
+};
/* info type */
#define L2CAP_IT_CL_MTU 0x0001
@@ -288,4 +288,4 @@ void l2cap_load(void);
#endif //NOT_DOLPHIN
-#endif /* __L2CAP_H */ \ No newline at end of file
+#endif /* __L2CAP_H */