]> Savannah Git Hosting - gnulib.git/commitdiff
thread: Reduce dependencies.
authorBruno Haible <bruno@clisp.org>
Sun, 4 Aug 2024 21:56:13 +0000 (23:56 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Aug 2024 21:56:13 +0000 (23:56 +0200)
* lib/glthread/thread.c: Don't include glthread/lock.h.
* modules/thread (Depends-on): Remove lock.

ChangeLog
lib/glthread/thread.c
modules/thread

index 7742247adf3494ec579379ff49ccd4b177e29cc0..52984ae25a8f0d5548518be2687c644a7aa1ae32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-08-04  Bruno Haible  <bruno@clisp.org>
+
+       thread: Reduce dependencies.
+       * lib/glthread/thread.c: Don't include glthread/lock.h.
+       * modules/thread (Depends-on): Remove lock.
+
 2024-08-04  Bruno Haible  <bruno@clisp.org>
 
        uchar-c23: Reduce dependencies.
index 9c8c3035a402386bd1fc096f331d0e4be54ad613..034abaad65d25a2ca15af93112233c69424027bb 100644 (file)
@@ -23,7 +23,6 @@
 #include "glthread/thread.h"
 
 #include <stdlib.h>
-#include "glthread/lock.h"
 
 /* ========================================================================= */
 
index f416807b636a94a2f6495f0f59f67bb2cd3666be..a16a2697009b100e1d5d328ffe10fc75f3fb9176 100644 (file)
@@ -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]