aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samsung-ipc/ipc.c4
-rw-r--r--samsung-ipc/ipc_util.c4
-rw-r--r--samsung-ipc/rfs.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c
index db68f81..4b03ea1 100644
--- a/samsung-ipc/ipc.c
+++ b/samsung-ipc/ipc.c
@@ -89,7 +89,7 @@ int ipc_device_detect(void)
int len = strlen(str);
char tmp;
- for (i=0 ; i < len ; i++)
+ for (i=0; i < len; i++)
{
tmp = (char) tolower(str[i]);
str[i] = tmp;
@@ -112,7 +112,7 @@ int ipc_device_detect(void)
kernel_version = strdup(utsname.release);
#endif
- for (i=0 ; i < ipc_devices_count ; i++)
+ for (i=0; i < ipc_devices_count; i++)
{
if (strstr(board_name, ipc_devices[i].board_name) != NULL)
{
diff --git a/samsung-ipc/ipc_util.c b/samsung-ipc/ipc_util.c
index 1b96768..9c90e78 100644
--- a/samsung-ipc/ipc_util.c
+++ b/samsung-ipc/ipc_util.c
@@ -340,7 +340,7 @@ void *ipc_client_mtd_read(struct ipc_client *client, char *mtd_name, int size,
data_p=(uint8_t *) mtd_p;
- for (i=0 ; i < size / block_size ; i++)
+ for (i=0; i < size / block_size; i++)
{
offs = i * block_size;
if (ioctl(fd, MEMGETBADBLOCK, &offs) == 1)
@@ -389,7 +389,7 @@ void *ipc_client_file_read(struct ipc_client *client, char *file_name, int size,
data_p=(uint8_t *) file_p;
- for (i=0 ; i < size / block_size ; i++)
+ for (i=0; i < size / block_size; i++)
{
read(fd, data_p, block_size);
data_p+=block_size;
diff --git a/samsung-ipc/rfs.c b/samsung-ipc/rfs.c
index 8233eb6..648efd5 100644
--- a/samsung-ipc/rfs.c
+++ b/samsung-ipc/rfs.c
@@ -37,7 +37,7 @@ void md5hash2string(char *out, unsigned char *in)
{
int i;
- for (i=0 ; i < MD5_DIGEST_LENGTH ; i++)
+ for (i=0; i < MD5_DIGEST_LENGTH; i++)
{
/* After the first iteration, we override \0. */
if (*in < 0x10)