1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3-uuid Remove unused smb_uuid_pack()

Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Andrew Bartlett 2010-09-17 17:46:51 +10:00 committed by Günther Deschner
parent d7bc452a89
commit 6acb47b115
2 changed files with 0 additions and 10 deletions

View File

@ -1584,7 +1584,6 @@ int islower_ascii(int c);
/* The following definitions come from lib/util_uuid.c */
void smb_uuid_pack(const struct GUID uu, UUID_FLAT *ptr);
void smb_uuid_unpack(const UUID_FLAT in, struct GUID *uu);
/* The following definitions come from lib/version.c */

View File

@ -20,15 +20,6 @@
#include "includes.h"
void smb_uuid_pack(const struct GUID uu, UUID_FLAT *ptr)
{
SIVAL(ptr->info, 0, uu.time_low);
SSVAL(ptr->info, 4, uu.time_mid);
SSVAL(ptr->info, 6, uu.time_hi_and_version);
memcpy(ptr->info+8, uu.clock_seq, 2);
memcpy(ptr->info+10, uu.node, 6);
}
void smb_uuid_unpack(const UUID_FLAT in, struct GUID *uu)
{
uu->time_low = IVAL(in.info, 0);