s3: locking: Add some const.
[metze/samba/wip.git] / source3 / locking / proto.h
index 8ff1c7cd632b465a6b618c34d50a638d3d4c4b15..1eabd6a603cb47a5cb0f792b21228bac51b7c252 100644 (file)
@@ -219,7 +219,7 @@ bool is_posix_locked(files_struct *fsp,
                        enum brl_flavour lock_flav);
 bool posix_locking_init(bool read_only);
 bool posix_locking_end(void);
-int fd_close_posix(struct files_struct *fsp);
+int fd_close_posix(const struct files_struct *fsp);
 bool set_posix_lock_windows_flavour(files_struct *fsp,
                        uint64_t u_offset,
                        uint64_t u_count,