diff options
author | Simon Busch <morphis@gravedo.de> | 2011-10-29 18:55:55 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2011-10-29 18:55:55 +0200 |
commit | f4923749132fe32f54b4f300f84071481559d606 (patch) | |
tree | 353d130c912f18a794defe60415b2490fc0fa553 /samsung-ipc | |
parent | b722c61ccd5fea0e19ec4e3274a37cd99fa1b7d5 (diff) | |
download | external_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 'samsung-ipc')
-rw-r--r-- | samsung-ipc/call.c | 2 | ||||
-rw-r--r-- | samsung-ipc/device/crespo/crespo_ipc.c | 2 | ||||
-rw-r--r-- | samsung-ipc/device/crespo/crespo_ipc.h | 2 | ||||
-rw-r--r-- | samsung-ipc/device/crespo/crespo_nv_data.c | 2 | ||||
-rw-r--r-- | samsung-ipc/device/crespo/crespo_nv_data.h | 2 | ||||
-rw-r--r-- | samsung-ipc/device/h1/h1_ipc.c | 2 | ||||
-rw-r--r-- | samsung-ipc/device/h1/h1_ipc.h | 7 | ||||
-rw-r--r-- | samsung-ipc/gprs.c | 2 | ||||
-rw-r--r-- | samsung-ipc/ipc.c | 2 | ||||
-rw-r--r-- | samsung-ipc/ipc_private.h | 4 | ||||
-rw-r--r-- | samsung-ipc/ipc_util.c | 2 | ||||
-rw-r--r-- | samsung-ipc/misc.c | 2 | ||||
-rw-r--r-- | samsung-ipc/net.c | 2 | ||||
-rw-r--r-- | samsung-ipc/sec.c | 2 | ||||
-rw-r--r-- | samsung-ipc/util.c | 2 |
15 files changed, 33 insertions, 4 deletions
diff --git a/samsung-ipc/call.c b/samsung-ipc/call.c index 2ca3ef4..5b725ad 100644 --- a/samsung-ipc/call.c +++ b/samsung-ipc/call.c @@ -107,4 +107,4 @@ char* ipc_call_list_response_get_entry_number(struct ipc_message_info *response, return number; } - +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/device/crespo/crespo_ipc.c b/samsung-ipc/device/crespo/crespo_ipc.c index 8752ae0..61326da 100644 --- a/samsung-ipc/device/crespo/crespo_ipc.c +++ b/samsung-ipc/device/crespo/crespo_ipc.c @@ -574,3 +574,5 @@ struct ipc_ops ipc_ops = { .recv = crespo_ipc_client_recv, .bootstrap = crespo_modem_bootstrap, }; + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/device/crespo/crespo_ipc.h b/samsung-ipc/device/crespo/crespo_ipc.h index a6540b5..9edaa8a 100644 --- a/samsung-ipc/device/crespo/crespo_ipc.h +++ b/samsung-ipc/device/crespo/crespo_ipc.h @@ -48,3 +48,5 @@ int wake_unlock(char *lock_name, int size); extern struct ipc_handlers crespo_ipc_default_handlers; #endif + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/device/crespo/crespo_nv_data.c b/samsung-ipc/device/crespo/crespo_nv_data.c index 58b034e..a714018 100644 --- a/samsung-ipc/device/crespo/crespo_nv_data.c +++ b/samsung-ipc/device/crespo/crespo_nv_data.c @@ -351,3 +351,5 @@ void nv_data_md5_check(void) printf("nv_data_md5_check: exit\n"); } + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/device/crespo/crespo_nv_data.h b/samsung-ipc/device/crespo/crespo_nv_data.h index bc17416..1e82a96 100644 --- a/samsung-ipc/device/crespo/crespo_nv_data.h +++ b/samsung-ipc/device/crespo/crespo_nv_data.h @@ -35,3 +35,5 @@ void nv_data_check(void); void nv_data_md5_check(void); #endif + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/device/h1/h1_ipc.c b/samsung-ipc/device/h1/h1_ipc.c index 601f67d..b2065df 100644 --- a/samsung-ipc/device/h1/h1_ipc.c +++ b/samsung-ipc/device/h1/h1_ipc.c @@ -183,3 +183,5 @@ struct ipc_ops ipc_ops = { .recv = h1_ipc_recv, .bootstrap = NULL, }; + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/device/h1/h1_ipc.h b/samsung-ipc/device/h1/h1_ipc.h index 1bbc951..992f822 100644 --- a/samsung-ipc/device/h1/h1_ipc.h +++ b/samsung-ipc/device/h1/h1_ipc.h @@ -17,6 +17,9 @@ * along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>. * */ + + #ifndef _H1_IPC_H_ + #define _H1_IPC_H_ #include <radio.h> @@ -42,3 +45,7 @@ struct hdlc_header { struct ipc_header ipc; } __attribute__((__packed__)); +#endif + +// vim:ts=4:sw=4:expandtab + diff --git a/samsung-ipc/gprs.c b/samsung-ipc/gprs.c index da39ba6..6dcce20 100644 --- a/samsung-ipc/gprs.c +++ b/samsung-ipc/gprs.c @@ -42,3 +42,5 @@ void ipc_gprs_pdp_context_setup(struct ipc_gprs_pdp_context *message, char *user strncpy((char*)message->username, username, 32); strncpy((char*)message->password, password, 32); } + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index 97a0b18..c68b271 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -257,3 +257,5 @@ int ipc_client_recv(struct ipc_client *client, struct ipc_message_info *response return client->ops->recv(client, response); } +// vim:ts=4:sw=4:expandtab + diff --git a/samsung-ipc/ipc_private.h b/samsung-ipc/ipc_private.h index 4e05119..890889f 100644 --- a/samsung-ipc/ipc_private.h +++ b/samsung-ipc/ipc_private.h @@ -59,6 +59,6 @@ struct ipc_client { struct ipc_handlers *handlers; }; - - #endif + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/ipc_util.c b/samsung-ipc/ipc_util.c index b1726e1..b5b2231 100644 --- a/samsung-ipc/ipc_util.c +++ b/samsung-ipc/ipc_util.c @@ -150,3 +150,5 @@ const char *ipc_command_type_to_str(int command) { } } +// vim:ts=4:sw=4:expandtab + diff --git a/samsung-ipc/misc.c b/samsung-ipc/misc.c index c4f27ee..9050908 100644 --- a/samsung-ipc/misc.c +++ b/samsung-ipc/misc.c @@ -32,3 +32,5 @@ char* ipc_misc_me_imsi_response_get_imsi(struct ipc_message_info *response) memcpy(buffer, &response->data[1], DEFAULT_IMSI_LENGTH); return buffer; } + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/net.c b/samsung-ipc/net.c index 9024e86..85c5205 100644 --- a/samsung-ipc/net.c +++ b/samsung-ipc/net.c @@ -25,3 +25,5 @@ void ipc_net_regist_get(struct ipc_net_regist_get *message, int domain) message->net = 0xff; message->domain = domain; } + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/sec.c b/samsung-ipc/sec.c index 5d43a62..da982c2 100644 --- a/samsung-ipc/sec.c +++ b/samsung-ipc/sec.c @@ -72,3 +72,5 @@ char* ipc_sec_rsim_access_response_get_file_data(struct ipc_message_info *respon return file_data; } + +// vim:ts=4:sw=4:expandtab diff --git a/samsung-ipc/util.c b/samsung-ipc/util.c index e7692d4..8797b56 100644 --- a/samsung-ipc/util.c +++ b/samsung-ipc/util.c @@ -212,4 +212,4 @@ error: return NULL; } - +// vim:ts=4:sw=4:expandtab |