Remove unused fsbridge::freopen

This commit is contained in:
practicalswift 2018-05-03 18:05:42 +02:00
parent cceedbc4bf
commit 75ea00f391
2 changed files with 0 additions and 6 deletions

View file

@ -14,11 +14,6 @@ FILE *fopen(const fs::path& p, const char *mode)
return ::fopen(p.string().c_str(), mode);
}
FILE *freopen(const fs::path& p, const char *mode, FILE *stream)
{
return ::freopen(p.string().c_str(), mode, stream);
}
#ifndef WIN32
static std::string GetErrorReason() {

View file

@ -18,7 +18,6 @@ namespace fs = boost::filesystem;
/** Bridge operations to C stdio */
namespace fsbridge {
FILE *fopen(const fs::path& p, const char *mode);
FILE *freopen(const fs::path& p, const char *mode, FILE *stream);
class FileLock
{