From 75ea00f391b742e435c650aae3e827aad913d552 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Thu, 3 May 2018 18:05:42 +0200 Subject: Remove unused fsbridge::freopen --- src/fs.cpp | 5 ----- src/fs.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/fs.cpp b/src/fs.cpp index e7d06e45ab..2dbc13643b 100644 --- a/src/fs.cpp +++ b/src/fs.cpp @@ -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() { diff --git a/src/fs.h b/src/fs.h index e3ff51604d..5a28d9a81c 100644 --- a/src/fs.h +++ b/src/fs.h @@ -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 { -- cgit v1.2.3