Skip to content

Commit b1ca5e0

Browse files
practicalswiftrandom-zebra
authored andcommitted
Remove unused fsbridge::freopen
1 parent b3a1d84 commit b1ca5e0

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/fs.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,5 @@ FILE *fopen(const fs::path& p, const char *mode)
1212
return ::fopen(p.string().c_str(), mode);
1313
}
1414

15-
FILE *freopen(const fs::path& p, const char *mode, FILE *stream)
16-
{
17-
return ::freopen(p.string().c_str(), mode, stream);
18-
}
1915

2016
} // fsbridge

src/fs.h

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

2524
#endif

0 commit comments

Comments
 (0)