diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-10 15:04:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-12 19:04:15 (GMT) |
commit | 58c66393cfb999f23bfb6ff72122ecbc531434c0 (patch) | |
tree | 2a5128546d94cf74b4800c8bd43e8b0f996bd21d /Source/cmFileCommand.cxx | |
parent | 85bfdddaf75905a2c075d2a94d85f4bcfa1feea9 (diff) | |
download | CMake-58c66393cfb999f23bfb6ff72122ecbc531434c0.zip CMake-58c66393cfb999f23bfb6ff72122ecbc531434c0.tar.gz CMake-58c66393cfb999f23bfb6ff72122ecbc531434c0.tar.bz2 |
clang-tidy: apply readability-static-definition-in-anonymous-namespace fixes
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 34b880e..d10c886 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -2343,9 +2343,8 @@ size_t cmWriteToMemoryCallback(void* ptr, size_t size, size_t nmemb, return realsize; } -static size_t cmFileCommandCurlDebugCallback(CURL*, curl_infotype type, - char* chPtr, size_t size, - void* data) +size_t cmFileCommandCurlDebugCallback(CURL*, curl_infotype type, char* chPtr, + size_t size, void* data) { cmFileCommandVectorOfChar* vec = static_cast<cmFileCommandVectorOfChar*>(data); @@ -2414,9 +2413,8 @@ private: std::string Text; }; -static int cmFileDownloadProgressCallback(void* clientp, double dltotal, - double dlnow, double ultotal, - double ulnow) +int cmFileDownloadProgressCallback(void* clientp, double dltotal, double dlnow, + double ultotal, double ulnow) { cURLProgressHelper* helper = reinterpret_cast<cURLProgressHelper*>(clientp); @@ -2433,9 +2431,8 @@ static int cmFileDownloadProgressCallback(void* clientp, double dltotal, return 0; } -static int cmFileUploadProgressCallback(void* clientp, double dltotal, - double dlnow, double ultotal, - double ulnow) +int cmFileUploadProgressCallback(void* clientp, double dltotal, double dlnow, + double ultotal, double ulnow) { cURLProgressHelper* helper = reinterpret_cast<cURLProgressHelper*>(clientp); |