mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Remove unused wrapper for POSIX rmdir
std::filesystem::remove can be used instead. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
518ed74496
commit
57f5b73458
3 changed files with 0 additions and 13 deletions
|
|
@ -67,8 +67,6 @@ extern int wclose(int fd);
|
|||
// this function called.
|
||||
int wtruncate(const OsPath& pathname, off_t length);
|
||||
|
||||
int wrmdir(const OsPath& path);
|
||||
|
||||
|
||||
//
|
||||
// stdlib.h
|
||||
|
|
|
|||
|
|
@ -98,11 +98,6 @@ int wtruncate(const OsPath& pathname, off_t length)
|
|||
return truncate(OsString(pathname).c_str(), length);
|
||||
}
|
||||
|
||||
int wrmdir(const OsPath& path)
|
||||
{
|
||||
return rmdir(OsString(path).c_str());
|
||||
}
|
||||
|
||||
int wrename(const OsPath& pathnameOld, const OsPath& pathnameNew)
|
||||
{
|
||||
return rename(OsString(pathnameOld).c_str(), OsString(pathnameNew).c_str());
|
||||
|
|
|
|||
|
|
@ -146,12 +146,6 @@ int wtruncate(const OsPath& pathname, off_t length)
|
|||
}
|
||||
|
||||
|
||||
int wrmdir(const OsPath& path)
|
||||
{
|
||||
return _wrmdir(OsString(path).c_str());
|
||||
}
|
||||
|
||||
|
||||
OsPath wrealpath(const OsPath& pathname)
|
||||
{
|
||||
wchar_t resolved[PATH_MAX];
|
||||
|
|
|
|||
Loading…
Reference in a new issue