summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-19 19:50:36 +0200
committerVolker Lendecke <vl@samba.org>2008-07-19 19:50:36 +0200
commit8e02cb17fe5e9931532b0ecf0b61825f500fd719 (patch)
tree31f9c1d4ac48b369ab65f9a9a12278dbc1bb9803 /source3/lib
parentbdd815e554fba73804ec69043ea2e4fb119f75fe (diff)
downloadsamba-8e02cb17fe5e9931532b0ecf0b61825f500fd719.tar.gz
samba-8e02cb17fe5e9931532b0ecf0b61825f500fd719.tar.bz2
samba-8e02cb17fe5e9931532b0ecf0b61825f500fd719.zip
Ooops, GUID_equal was already around :-)
(This used to be commit 9a0bc277f23831124d049301bc7009a285d91a11)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_uuid.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/lib/util_uuid.c b/source3/lib/util_uuid.c
index 0d788ac8b4..3a8f7b3f4f 100644
--- a/source3/lib/util_uuid.c
+++ b/source3/lib/util_uuid.c
@@ -129,13 +129,3 @@ char *guid_binstring(const struct GUID *guid)
return binary_string_rfc2254((char *)guid_flat.info, UUID_FLAT_SIZE);
}
-
-bool guid_equal(const struct GUID *g1, const struct GUID *g2)
-{
- return ((g1->time_low == g2->time_low)
- && (g1->time_mid == g2->time_mid)
- && (g1->time_hi_and_version == g2->time_hi_and_version)
- && (memcmp(g1->clock_seq, g2->clock_seq,
- sizeof(g1->clock_seq)) == 0)
- && (memcmp(g1->node, g2->node, sizeof(g1->node)) == 0));
-}