Remove a const warning.
authorJeremy Allison <jra@samba.org>
Thu, 6 Aug 2009 22:47:05 +0000 (15:47 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 6 Aug 2009 22:47:05 +0000 (15:47 -0700)
Jeremy.

source3/include/proto.h
source3/smbd/posix_acls.c

index 00cfd6129e6cb70c33c006a943454408513d9a50..ccd87466035263c06adf7ff51b761e7c7bb87d47 100644 (file)
@@ -6745,7 +6745,8 @@ int chmod_acl(connection_struct *conn, const char *name, mode_t mode);
 int inherit_access_posix_acl(connection_struct *conn, const char *inherit_from_dir,
                       const char *name, mode_t mode);
 int fchmod_acl(files_struct *fsp, mode_t mode);
-bool set_unix_posix_default_acl(connection_struct *conn, const char *fname, SMB_STRUCT_STAT *psbuf,
+bool set_unix_posix_default_acl(connection_struct *conn, const char *fname,
+                               const SMB_STRUCT_STAT *psbuf,
                                uint16 num_def_acls, const char *pdata);
 bool set_unix_posix_acl(connection_struct *conn, files_struct *fsp, const char *fname, uint16 num_acls, const char *pdata);
 SEC_DESC *get_nt_acl_no_snum( TALLOC_CTX *ctx, const char *fname);
index 0a3b0dff7597a22d9da813465e9113262881252a..8c5393871f633f2dfe5e955b8163e92593c6d7ba 100644 (file)
@@ -4360,7 +4360,7 @@ static SMB_ACL_T create_posix_acl_from_wire(connection_struct *conn, uint16 num_
  on the directory.
 ****************************************************************************/
 
-bool set_unix_posix_default_acl(connection_struct *conn, const char *fname, SMB_STRUCT_STAT *psbuf,
+bool set_unix_posix_default_acl(connection_struct *conn, const char *fname, const SMB_STRUCT_STAT *psbuf,
                                uint16 num_def_acls, const char *pdata)
 {
        SMB_ACL_T def_acl = NULL;