summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_misc.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-08-31 03:38:48 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-08-31 03:38:48 +0000
commitb4ed8c836598a68d68aed90fe7d0c1a48d4a7583 (patch)
tree5dad660e7ef1ff8504d1a633dbb4fab17e303392 /source3/rpc_parse/parse_misc.c
parent80f853772a8385af852ea48f2fb50e691af4d97d (diff)
downloadsamba-b4ed8c836598a68d68aed90fe7d0c1a48d4a7583.tar.gz
samba-b4ed8c836598a68d68aed90fe7d0c1a48d4a7583.tar.bz2
samba-b4ed8c836598a68d68aed90fe7d0c1a48d4a7583.zip
Fix up some compile issues. We can't have C99 comments and add a smattering
of const. (This used to be commit af53e774d754d72b01d9840e8b45d27bc394e33d)
Diffstat (limited to 'source3/rpc_parse/parse_misc.c')
-rw-r--r--source3/rpc_parse/parse_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c
index 2a6560f8ce..3015e383fd 100644
--- a/source3/rpc_parse/parse_misc.c
+++ b/source3/rpc_parse/parse_misc.c
@@ -786,7 +786,7 @@ void init_buf_unistr2(UNISTR2 *str, uint32 *ptr, const char *buf)
Copies a UNISTR2 structure.
********************************************************************/
-void copy_unistr2(UNISTR2 *str, UNISTR2 *from)
+void copy_unistr2(UNISTR2 *str, const UNISTR2 *from)
{
/* set up string lengths. add one if string is not null-terminated */