aboutsummaryrefslogtreecommitdiffstats
path: root/include/misc.h
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-10-29 18:55:55 +0200
committerSimon Busch <morphis@gravedo.de>2011-10-29 18:55:55 +0200
commitf4923749132fe32f54b4f300f84071481559d606 (patch)
tree353d130c912f18a794defe60415b2490fc0fa553 /include/misc.h
parentb722c61ccd5fea0e19ec4e3274a37cd99fa1b7d5 (diff)
downloadexternal_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.zip
external_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.tar.gz
external_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.tar.bz2
Add vim modeline for uniform indentation
On IRC we agreed to use vim:ts=4:sw=4:expandtab as uniform indentation style for the library. Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'include/misc.h')
-rw-r--r--include/misc.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/include/misc.h b/include/misc.h
index 111fe7b..550a931 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -23,27 +23,28 @@
struct ipc_message_info;
-#define IPC_MISC_ME_VERSION 0x0A01
-#define IPC_MISC_ME_IMSI 0x0A02
-#define IPC_MISC_ME_SN 0x0A03
-#define IPC_MISC_TIME_INFO 0x0A07
+#define IPC_MISC_ME_VERSION 0x0A01
+#define IPC_MISC_ME_IMSI 0x0A02
+#define IPC_MISC_ME_SN 0x0A03
+#define IPC_MISC_TIME_INFO 0x0A07
struct ipc_misc_me_version {
- char sw_version[32];
- char hw_version[32];
- char cal_date[32];
- char misc[32];
+ char sw_version[32];
+ char hw_version[32];
+ char cal_date[32];
+ char misc[32];
} __attribute__((__packed__));
struct ipc_misc_time_info {
- unsigned char tz_valid, daylight_valid;
- unsigned char year, mon, day;
- unsigned char hour, min, sec;
- unsigned char tz, dl, dv;
- char plmn[6];
+ unsigned char tz_valid, daylight_valid;
+ unsigned char year, mon, day;
+ unsigned char hour, min, sec;
+ unsigned char tz, dl, dv;
+ char plmn[6];
} __attribute__((__packed__));
char* ipc_misc_me_imsi_response_get_imsi(struct ipc_message_info *response);
#endif
+// vim:ts=4:sw=4:expandtab