Remove unused cf_ChangeFileAttributes()

This commit is contained in:
Azamat H. Hackimov 2024-09-22 02:00:04 +03:00
parent 3a7c86a2d2
commit 9c430b861b
2 changed files with 0 additions and 9 deletions

View File

@ -871,12 +871,6 @@ void cf_CopyFileTime(const std::filesystem::path &dest, const std::filesystem::p
ddio_CopyFileTime(dest, src);
}
// Changes a files attributes (ie read/write only)
void cf_ChangeFileAttributes(const char *name, int attr) {
if (_chmod(name, attr) == -1)
Int3(); // Get Jason or Matt, file not found!
}
// rewinds cfile position
void cf_Rewind(CFILE *fp) {
if (fp->lib_offset) {

View File

@ -320,9 +320,6 @@ bool cf_Diff(const std::filesystem::path &a, const std::filesystem::path &b);
// Copies the file time from one file to another
void cf_CopyFileTime(const std::filesystem::path &dest, const std::filesystem::path &src);
// Changes a files attributes (ie read/write only)
void cf_ChangeFileAttributes(const char *name, int attr);
// rewinds cfile position
void cf_Rewind(CFILE *fp);