[Replicant] [libsamsung-ipc][PATCH 19/48] includes: gen.h: switch to Linux code style

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Sun Apr 5 18:20:53 UTC 2020


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 at cyberdimension.org>
---
 include/gen.h | 16 +++++++---------
 1 file 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__ */
-- 
2.26.0



More information about the Replicant mailing list