diff options
author | YamaArashi <YamaArashi@users.noreply.github.com> | 2017-02-03 21:25:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-03 21:25:20 -0800 |
commit | 27dc855202a2531914c83d15d5a9c3745c0ca88a (patch) | |
tree | fb04b6228467ef4f78fed680d7dfae1c4a55ad95 /tools/scaninc/scaninc.cpp | |
parent | 18e21f8b090a49934a80d56b1796e0c1d469a22c (diff) | |
parent | 7c96b16179792a044ded6ade1b74cdb1c0b870a5 (diff) |
Merge pull request #230 from camthesaxman/tools
use std:: prefix and remove some unused functions
Diffstat (limited to 'tools/scaninc/scaninc.cpp')
-rw-r--r-- | tools/scaninc/scaninc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/scaninc/scaninc.cpp b/tools/scaninc/scaninc.cpp index 2f9ed81e9..b6f7ba767 100644 --- a/tools/scaninc/scaninc.cpp +++ b/tools/scaninc/scaninc.cpp @@ -29,12 +29,12 @@ bool CanOpenFile(std::string path) { - FILE *fp = fopen(path.c_str(), "rb"); + FILE *fp = std::fopen(path.c_str(), "rb"); if (fp == NULL) return false; - fclose(fp); + std::fclose(fp); return true; } @@ -92,6 +92,6 @@ int main(int argc, char **argv) for (const std::string &path : dependencies) { - printf("%s\n", path.c_str()); + std::printf("%s\n", path.c_str()); } } |