From 6acb47b1154562415bf966f72262481d25e58708 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 17 Sep 2010 17:46:51 +1000 Subject: s3-uuid Remove unused smb_uuid_pack() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/include/proto.h | 1 - source3/lib/util_uuid.c | 9 --------- 2 files changed, 10 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index e715b579f6..ff418ab673 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -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 */ diff --git a/source3/lib/util_uuid.c b/source3/lib/util_uuid.c index 225ac72c6c..6c07322659 100644 --- a/source3/lib/util_uuid.c +++ b/source3/lib/util_uuid.c @@ -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); -- cgit