mirror of
https://github.com/samba-team/samba.git
synced 2025-11-23 20:23:50 +03:00
Fix up some compile issues. We can't have C99 comments and add a smattering
of const.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user