From 80f15f6437c5a01c09d8f64cf252b68f6a77a083 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 3 Jan 2022 02:57:23 -0500 Subject: [PATCH] Make trySetThreadName static Co-authored-by: Otto Moerbeek --- pdns/threadname.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2