Skip to content

Commit

Permalink
Remove unused fsbridge::freopen
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift committed Aug 29, 2018
1 parent cceedbc commit 75ea00f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/fs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 0 additions & 1 deletion src/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 75ea00f

Please sign in to comment.