From 9f461b85bfa3aa67d7f9c53a09eb9aa34169350f Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 22 Jun 2017 10:32:48 +0200 Subject: Revert "osdep: NetBSD pthread_setname_np()" This reverts commit 2e81698d2809836d4cd7f754a78598e7bdf96c0b. Seems like this was a patch applied from someone who can't agree to LGPL relicensing (see previous commit), with the author field not properly set. This is not so important anyway, so just revert it. --- osdep/threads.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'osdep') diff --git a/osdep/threads.c b/osdep/threads.c index 53d332396d..8cd4545c1e 100644 --- a/osdep/threads.c +++ b/osdep/threads.c @@ -21,10 +21,6 @@ #include "config.h" -#if HAVE_BSD_THREAD_NAME -#include -#endif - #include "threads.h" #include "timer.h" @@ -49,8 +45,6 @@ void mpthread_set_name(const char *name) } #elif HAVE_WIN32_INTERNAL_PTHREADS || HAVE_BSD_THREAD_NAME pthread_set_name_np(pthread_self(), tname); -#elif HAVE_NETBSD_THREAD_NAME - pthread_setname_np(pthread_self(), "%s", (void *)tname); #elif HAVE_OSX_THREAD_NAME pthread_setname_np(tname); #endif -- cgit v1.2.3