aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/uuid
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-11 00:09:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-11 00:09:24 +0000
commite2c51a8dc66441eabc817e5dd43101d0fcccda00 (patch)
tree83c9796032f12113a262429dacf446e28093e36c /e2fsprogs/uuid
parent85cffcc83dfa8471c458789474513171ff9281df (diff)
downloadbusybox-e2c51a8dc66441eabc817e5dd43101d0fcccda00.tar.gz
whitespace updates
Diffstat (limited to 'e2fsprogs/uuid')
-rw-r--r--e2fsprogs/uuid/pack.c7
-rw-r--r--e2fsprogs/uuid/unpack.c7
2 files changed, 6 insertions, 8 deletions
diff --git a/e2fsprogs/uuid/pack.c b/e2fsprogs/uuid/pack.c
index 348d43213..1013886e5 100644
--- a/e2fsprogs/uuid/pack.c
+++ b/e2fsprogs/uuid/pack.c
@@ -37,8 +37,8 @@
void uuid_pack(const struct uuid *uu, uuid_t ptr)
{
- uint32_t tmp;
- unsigned char *out = ptr;
+ uint32_t tmp;
+ unsigned char *out = ptr;
tmp = uu->time_low;
out[3] = (unsigned char) tmp;
@@ -48,7 +48,7 @@ void uuid_pack(const struct uuid *uu, uuid_t ptr)
out[1] = (unsigned char) tmp;
tmp >>= 8;
out[0] = (unsigned char) tmp;
-
+
tmp = uu->time_mid;
out[5] = (unsigned char) tmp;
tmp >>= 8;
@@ -66,4 +66,3 @@ void uuid_pack(const struct uuid *uu, uuid_t ptr)
memcpy(out+10, uu->node, 6);
}
-
diff --git a/e2fsprogs/uuid/unpack.c b/e2fsprogs/uuid/unpack.c
index 9502fc2a6..d63589521 100644
--- a/e2fsprogs/uuid/unpack.c
+++ b/e2fsprogs/uuid/unpack.c
@@ -37,8 +37,8 @@
void uuid_unpack(const uuid_t in, struct uuid *uu)
{
- const uint8_t *ptr = in;
- uint32_t tmp;
+ const uint8_t *ptr = in;
+ uint32_t tmp;
tmp = *ptr++;
tmp = (tmp << 8) | *ptr++;
@@ -49,7 +49,7 @@ void uuid_unpack(const uuid_t in, struct uuid *uu)
tmp = *ptr++;
tmp = (tmp << 8) | *ptr++;
uu->time_mid = tmp;
-
+
tmp = *ptr++;
tmp = (tmp << 8) | *ptr++;
uu->time_hi_and_version = tmp;
@@ -60,4 +60,3 @@ void uuid_unpack(const uuid_t in, struct uuid *uu)
memcpy(uu->node, ptr, 6);
}
-