diff --git a/src/fs.cpp b/src/fs.cpp index cfb6066101..a146107c4c 100644 --- a/src/fs.cpp +++ b/src/fs.cpp @@ -19,11 +19,6 @@ FILE *fopen(const fs::path& p, const char *mode) #endif } -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() { diff --git a/src/fs.h b/src/fs.h index cddcae5a73..d478846a6e 100644 --- a/src/fs.h +++ b/src/fs.h @@ -21,7 +21,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 {