mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Remove unused cf_ChangeFileAttributes()
This commit is contained in:
parent
3a7c86a2d2
commit
9c430b861b
@ -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) {
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user