diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-11 00:09:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-11 00:09:24 +0000 |
commit | e2c51a8dc66441eabc817e5dd43101d0fcccda00 (patch) | |
tree | 83c9796032f12113a262429dacf446e28093e36c /e2fsprogs | |
parent | 85cffcc83dfa8471c458789474513171ff9281df (diff) | |
download | busybox-w32-e2c51a8dc66441eabc817e5dd43101d0fcccda00.tar.gz busybox-w32-e2c51a8dc66441eabc817e5dd43101d0fcccda00.tar.bz2 busybox-w32-e2c51a8dc66441eabc817e5dd43101d0fcccda00.zip |
whitespace updates
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/uuid/pack.c | 7 | ||||
-rw-r--r-- | e2fsprogs/uuid/unpack.c | 7 |
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 @@ | |||
37 | 37 | ||
38 | void uuid_pack(const struct uuid *uu, uuid_t ptr) | 38 | void uuid_pack(const struct uuid *uu, uuid_t ptr) |
39 | { | 39 | { |
40 | uint32_t tmp; | 40 | uint32_t tmp; |
41 | unsigned char *out = ptr; | 41 | unsigned char *out = ptr; |
42 | 42 | ||
43 | tmp = uu->time_low; | 43 | tmp = uu->time_low; |
44 | out[3] = (unsigned char) tmp; | 44 | out[3] = (unsigned char) tmp; |
@@ -48,7 +48,7 @@ void uuid_pack(const struct uuid *uu, uuid_t ptr) | |||
48 | out[1] = (unsigned char) tmp; | 48 | out[1] = (unsigned char) tmp; |
49 | tmp >>= 8; | 49 | tmp >>= 8; |
50 | out[0] = (unsigned char) tmp; | 50 | out[0] = (unsigned char) tmp; |
51 | 51 | ||
52 | tmp = uu->time_mid; | 52 | tmp = uu->time_mid; |
53 | out[5] = (unsigned char) tmp; | 53 | out[5] = (unsigned char) tmp; |
54 | tmp >>= 8; | 54 | tmp >>= 8; |
@@ -66,4 +66,3 @@ void uuid_pack(const struct uuid *uu, uuid_t ptr) | |||
66 | 66 | ||
67 | memcpy(out+10, uu->node, 6); | 67 | memcpy(out+10, uu->node, 6); |
68 | } | 68 | } |
69 | |||
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 @@ | |||
37 | 37 | ||
38 | void uuid_unpack(const uuid_t in, struct uuid *uu) | 38 | void uuid_unpack(const uuid_t in, struct uuid *uu) |
39 | { | 39 | { |
40 | const uint8_t *ptr = in; | 40 | const uint8_t *ptr = in; |
41 | uint32_t tmp; | 41 | uint32_t tmp; |
42 | 42 | ||
43 | tmp = *ptr++; | 43 | tmp = *ptr++; |
44 | tmp = (tmp << 8) | *ptr++; | 44 | tmp = (tmp << 8) | *ptr++; |
@@ -49,7 +49,7 @@ void uuid_unpack(const uuid_t in, struct uuid *uu) | |||
49 | tmp = *ptr++; | 49 | tmp = *ptr++; |
50 | tmp = (tmp << 8) | *ptr++; | 50 | tmp = (tmp << 8) | *ptr++; |
51 | uu->time_mid = tmp; | 51 | uu->time_mid = tmp; |
52 | 52 | ||
53 | tmp = *ptr++; | 53 | tmp = *ptr++; |
54 | tmp = (tmp << 8) | *ptr++; | 54 | tmp = (tmp << 8) | *ptr++; |
55 | uu->time_hi_and_version = tmp; | 55 | uu->time_hi_and_version = tmp; |
@@ -60,4 +60,3 @@ void uuid_unpack(const uuid_t in, struct uuid *uu) | |||
60 | 60 | ||
61 | memcpy(uu->node, ptr, 6); | 61 | memcpy(uu->node, ptr, 6); |
62 | } | 62 | } |
63 | |||