diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-17 17:46:51 +1000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-20 16:15:10 -0700 |
commit | 6acb47b1154562415bf966f72262481d25e58708 (patch) | |
tree | 69377c777b610f2d6a480932b6b8cd0386f94f30 /source3 | |
parent | d7bc452a893a77eb21b547cd8cdf8b420c60ab5d (diff) | |
download | samba-6acb47b1154562415bf966f72262481d25e58708.tar.gz samba-6acb47b1154562415bf966f72262481d25e58708.tar.bz2 samba-6acb47b1154562415bf966f72262481d25e58708.zip |
s3-uuid Remove unused smb_uuid_pack()
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/lib/util_uuid.c | 9 |
2 files changed, 0 insertions, 10 deletions
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); |