summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-06-13 04:35:53 +0000
committerTim Potter <tpot@samba.org>2003-06-13 04:35:53 +0000
commit0a9396dcca1e30fa32fbcde3ee2dce86f586ba4b (patch)
tree7ccac6f82746bf5410dbe25f69aebfe949995cf4 /source3/lib
parent61742d1117e12cbb131f9c55ab0a9acbcc1f4d3a (diff)
downloadsamba-0a9396dcca1e30fa32fbcde3ee2dce86f586ba4b.tar.gz
samba-0a9396dcca1e30fa32fbcde3ee2dce86f586ba4b.tar.bz2
samba-0a9396dcca1e30fa32fbcde3ee2dce86f586ba4b.zip
Rename some uuid functions so as not to conflict with system
versions. Fixes bug #154. (This used to be commit 986eae40f7669d15dc75aed340e628aa7efafddc)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_uuid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util_uuid.c b/source3/lib/util_uuid.c
index 699f2cd632..83553ec28e 100644
--- a/source3/lib/util_uuid.c
+++ b/source3/lib/util_uuid.c
@@ -58,7 +58,7 @@ static void uuid_unpack(const GUID in, struct uuid *uu)
memcpy(uu->node, ptr+10, 6);
}
-void uuid_generate_random(GUID *out)
+void smb_uuid_generate_random(GUID *out)
{
GUID tmp;
struct uuid uu;
@@ -71,7 +71,7 @@ void uuid_generate_random(GUID *out)
uuid_pack(&uu, out);
}
-char *guid_to_string(const GUID in)
+char *smb_uuid_to_string(const GUID in)
{
struct uuid uu;
char *out;
@@ -87,7 +87,7 @@ char *guid_to_string(const GUID in)
return out;
}
-const char *uuid_string_static(const GUID in)
+const char *smb_uuid_string_static(const GUID in)
{
struct uuid uu;
static char out[37];