aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-04-04 19:11:17 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-06-11 12:45:45 +0200
commit0568496ac5c5da5e82dc1f7adbbdf495c1cbfd52 (patch)
treed7047a7b533c036c716cee7928723a3d38297232
parent81418209a8039325f8b2d042f8b88ff6a6571db6 (diff)
downloadhardware_replicant_libsamsung-ipc-0568496ac5c5da5e82dc1f7adbbdf495c1cbfd52.tar.gz
hardware_replicant_libsamsung-ipc-0568496ac5c5da5e82dc1f7adbbdf495c1cbfd52.tar.bz2
hardware_replicant_libsamsung-ipc-0568496ac5c5da5e82dc1f7adbbdf495c1cbfd52.zip
includes: gen.h: switch to Linux code style
This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--include/gen.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/gen.h b/include/gen.h
index 8013df6..0dc9ff6 100644
--- a/include/gen.h
+++ b/include/gen.h
@@ -27,23 +27,23 @@
* Commands
*/
-#define IPC_GEN_PHONE_RES 0x8001
+#define IPC_GEN_PHONE_RES 0x8001
/*
* Values
*/
-#define IPC_GEN_PHONE_RES_CODE_SUCCESS 0x8000
+#define IPC_GEN_PHONE_RES_CODE_SUCCESS 0x8000
/*
* Structures
*/
struct ipc_gen_phone_res_data {
- unsigned char group;
- unsigned char index;
- unsigned char type;
- unsigned short code;
+ unsigned char group;
+ unsigned char index;
+ unsigned char type;
+ unsigned short code;
} __attribute__((__packed__));
/*
@@ -52,6 +52,4 @@ struct ipc_gen_phone_res_data {
int ipc_gen_phone_res_check(const struct ipc_gen_phone_res_data *data);
-#endif
-
-// vim:ts=4:sw=4:expandtab
+#endif /* __SAMSUNG_IPC_GEN_H__ */