]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Make trySetThreadName static 11137/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Mon, 3 Jan 2022 07:57:23 +0000 (02:57 -0500)
committerGitHub <noreply@github.com>
Mon, 3 Jan 2022 07:57:23 +0000 (02:57 -0500)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/threadname.cc

index 35fa0bbfbeca9b8fddf5aa08f739004b97a1a6f3..4318117d0a2da5d7009efc7c5c348844f778da7a 100644 (file)
@@ -39,7 +39,7 @@
 
 #include "threadname.hh"
 
-int trySetThreadName(const std::string& threadName) {
+static int trySetThreadName(const std::string& threadName) {
   int retval = 0;
 
 #ifdef HAVE_PTHREAD_SETNAME_NP_2