whitespace updates

This commit is contained in:
Mike Frysinger 2005-06-11 00:09:24 +00:00
parent 85cffcc83d
commit e2c51a8dc6
2 changed files with 6 additions and 8 deletions

View File

@ -37,8 +37,8 @@
void uuid_pack(const struct uuid *uu, uuid_t ptr) void uuid_pack(const struct uuid *uu, uuid_t ptr)
{ {
uint32_t tmp; uint32_t tmp;
unsigned char *out = ptr; unsigned char *out = ptr;
tmp = uu->time_low; tmp = uu->time_low;
out[3] = (unsigned char) tmp; out[3] = (unsigned char) tmp;
@ -66,4 +66,3 @@ void uuid_pack(const struct uuid *uu, uuid_t ptr)
memcpy(out+10, uu->node, 6); memcpy(out+10, uu->node, 6);
} }

View File

@ -37,8 +37,8 @@
void uuid_unpack(const uuid_t in, struct uuid *uu) void uuid_unpack(const uuid_t in, struct uuid *uu)
{ {
const uint8_t *ptr = in; const uint8_t *ptr = in;
uint32_t tmp; uint32_t tmp;
tmp = *ptr++; tmp = *ptr++;
tmp = (tmp << 8) | *ptr++; tmp = (tmp << 8) | *ptr++;
@ -60,4 +60,3 @@ void uuid_unpack(const uuid_t in, struct uuid *uu)
memcpy(uu->node, ptr, 6); memcpy(uu->node, ptr, 6);
} }