From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 3 Jan 2022 07:57:23 +0000 (-0500) Subject: Make trySetThreadName static X-Git-Tag: auth-4.7.0-alpha1~89^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11137%2Fhead;p=thirdparty%2Fpdns.git Make trySetThreadName static Co-authored-by: Otto Moerbeek --- diff --git a/pdns/threadname.cc b/pdns/threadname.cc index 35fa0bbfbe..4318117d0a 100644 --- a/pdns/threadname.cc +++ b/pdns/threadname.cc @@ -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