mirror of
https://github.com/samba-team/samba.git
synced 2025-09-12 13:44:19 +03:00
s3-uuid Remove unused smb_uuid_pack()
Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
committed by
Günther Deschner
parent
d7bc452a89
commit
6acb47b115
@@ -1584,7 +1584,6 @@ int islower_ascii(int c);
|
|||||||
|
|
||||||
/* The following definitions come from lib/util_uuid.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);
|
void smb_uuid_unpack(const UUID_FLAT in, struct GUID *uu);
|
||||||
|
|
||||||
/* The following definitions come from lib/version.c */
|
/* The following definitions come from lib/version.c */
|
||||||
|
@@ -20,15 +20,6 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#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)
|
void smb_uuid_unpack(const UUID_FLAT in, struct GUID *uu)
|
||||||
{
|
{
|
||||||
uu->time_low = IVAL(in.info, 0);
|
uu->time_low = IVAL(in.info, 0);
|
||||||
|
Reference in New Issue
Block a user