Fix up some compile issues. We can't have C99 comments and add a smattering
authorAndrew Bartlett <abartlet@samba.org>
Fri, 31 Aug 2001 03:38:48 +0000 (03:38 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 31 Aug 2001 03:38:48 +0000 (03:38 +0000)
of const.

source/rpc_parse/parse_misc.c
source/rpc_parse/parse_net.c

index 2a6560f8ceab4eac4d9e1afff2b510daba8f8021..3015e383fda3ef029ec50e3fbb9e0b59353bdedf 100644 (file)
@@ -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 */
index 37bf6755b7bbe1072a4385d95457d36772cbae42..7f777c9434f7758fbd241b229e7e884f239b95cd 100644 (file)
@@ -1977,14 +1977,14 @@ static BOOL net_io_sam_account_info(char *desc, uint8 sess_key[16],
                        if (ps->io)
                        {
                                /* reading */
-// FIXME                       prs_hash1(ps, ps->offset, sess_key);
+/* // FIXME                    prs_hash1(ps, ps->offset, sess_key); */
                        }
                        net_io_sam_passwd_info("pass", &(info->pass), ps,
                                               depth);
                        if (!ps->io)
                        {
                                /* writing */
-// FIXME TOO                   prs_hash1(ps, old_offset, sess_key);
+/* // FIXME TOO                        prs_hash1(ps, old_offset, sess_key); */
                        }
                }
                ps->data_offset = old_offset + len;