From: Bruno Haible Date: Sun, 4 Aug 2024 21:56:13 +0000 (+0200) Subject: thread: Reduce dependencies. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=fd560436757c1dccbe59bda81f603bd23c6cb975;p=gnulib.git thread: Reduce dependencies. * lib/glthread/thread.c: Don't include glthread/lock.h. * modules/thread (Depends-on): Remove lock. --- diff --git a/ChangeLog b/ChangeLog index 7742247adf..52984ae25a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-08-04 Bruno Haible + + thread: Reduce dependencies. + * lib/glthread/thread.c: Don't include glthread/lock.h. + * modules/thread (Depends-on): Remove lock. + 2024-08-04 Bruno Haible uchar-c23: Reduce dependencies. diff --git a/lib/glthread/thread.c b/lib/glthread/thread.c index 9c8c3035a4..034abaad65 100644 --- a/lib/glthread/thread.c +++ b/lib/glthread/thread.c @@ -23,7 +23,6 @@ #include "glthread/thread.h" #include -#include "glthread/lock.h" /* ========================================================================= */ diff --git a/modules/thread b/modules/thread index f416807b63..a16a269700 100644 --- a/modules/thread +++ b/modules/thread @@ -10,7 +10,6 @@ Depends-on: threadlib stdint extern-inline -lock windows-thread [test $gl_threads_api = windows] pthread_sigmask [test $gl_threads_api = posix]