From 7c96b16179792a044ded6ade1b74cdb1c0b870a5 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Fri, 3 Feb 2017 23:16:28 -0600 Subject: use std:: prefix and remove some unused functions --- tools/scaninc/scaninc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/scaninc/scaninc.cpp') 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()); } } -- cgit v1.2.3