aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/gen.h8
-rw-r--r--vapi/samsung-ipc-1.0.vapi2
2 files changed, 5 insertions, 5 deletions
diff --git a/include/gen.h b/include/gen.h
index 4b6b7bd..aae309b 100644
--- a/include/gen.h
+++ b/include/gen.h
@@ -21,12 +21,12 @@
#ifndef __GEN_H__
#define __GEN_H__
-#define IPC_GEN_PHONE_RES 0x8001
+#define IPC_GEN_PHONE_RES 0x8001
struct ipc_gen_phone_res {
- unsigned char group, type;
- unsigned short code;
- unsigned char unk;
+ unsigned char group, type;
+ unsigned char unk;
+ unsigned short code;
} __attribute__((__packed__));
#endif
diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi
index c8036bc..262e607 100644
--- a/vapi/samsung-ipc-1.0.vapi
+++ b/vapi/samsung-ipc-1.0.vapi
@@ -193,8 +193,8 @@ namespace SamsungIpc
{
public uint8 group;
public uint8 type;
- public uint16 code;
public uint8 unk;
+ public uint16 code;
}
[CCode (cname = "int", cprefix = "IPC_", has_type_id = false)]