Skip to content

Commit 75ea00f

Browse files
Remove unused fsbridge::freopen
1 parent cceedbc commit 75ea00f

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/fs.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ FILE *fopen(const fs::path& p, const char *mode)
1414
return ::fopen(p.string().c_str(), mode);
1515
}
1616

17-
FILE *freopen(const fs::path& p, const char *mode, FILE *stream)
18-
{
19-
return ::freopen(p.string().c_str(), mode, stream);
20-
}
21-
2217
#ifndef WIN32
2318

2419
static std::string GetErrorReason() {

src/fs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ namespace fs = boost::filesystem;
1818
/** Bridge operations to C stdio */
1919
namespace fsbridge {
2020
FILE *fopen(const fs::path& p, const char *mode);
21-
FILE *freopen(const fs::path& p, const char *mode, FILE *stream);
2221

2322
class FileLock
2423
{

0 commit comments

Comments
 (0)