summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/util_uuid.c9
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);