summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-16 11:17:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:53 -0500
commit536601aeba8adb3fe3ac4af19088910c31959f93 (patch)
tree1f536e1cf6af4854d7a8e3edb930f995fca2e073 /source4/librpc/ndr
parent43f500244ba0995067b023854dbc448d05ad751f (diff)
downloadsamba-536601aeba8adb3fe3ac4af19088910c31959f93.tar.gz
samba-536601aeba8adb3fe3ac4af19088910c31959f93.tar.bz2
samba-536601aeba8adb3fe3ac4af19088910c31959f93.zip
r3785: this strings are not const
metze (This used to be commit 436da375a2a815926aaa0565120a4750ead37cb0)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_basic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c
index 1bccead269..70fd0b34a4 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -1198,7 +1198,7 @@ NTSTATUS GUID_from_string(const char *s, struct GUID *guid)
/*
its useful to be able to display these in debugging messages
*/
-const char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid)
+char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid)
{
return talloc_asprintf(mem_ctx,
"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
@@ -1211,7 +1211,7 @@ const char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid)
guid->node[4], guid->node[5]);
}
-const char *GUID_string2(TALLOC_CTX *mem_ctx, const struct GUID *guid)
+char *GUID_string2(TALLOC_CTX *mem_ctx, const struct GUID *guid)
{
return talloc_asprintf(mem_ctx,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}",