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:
parent
cceedbc4bf
commit
75ea00f391
2 changed files with 0 additions and 6 deletions
|
@ -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() {
|
||||||
|
|
1
src/fs.h
1
src/fs.h
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue