0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-09 10:43:19 -05:00

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); 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 #ifndef WIN32
static std::string GetErrorReason() { static std::string GetErrorReason() {

View file

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