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

ChangeLog
modules/mtx-tests
tests/test-mtx.c

index 52984ae25a8f0d5548518be2687c644a7aa1ae32..ecc4dc6f1f52f338081eef3d02f44441751cbb80 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-08-04  Bruno Haible  <bruno@clisp.org>
+
+       mtx-tests: Reduce dependencies.
+       * tests/test-mtx.c: Don't include glthread/lock.h.
+       * modules/mtx-tests (Depends-on): Remove lock.
+
 2024-08-04  Bruno Haible  <bruno@clisp.org>
 
        thread: Reduce dependencies.
index 323d392087c03736c02cf24a7c9413503d44a852..b29fb0b6ce09d818c3a9639a87f02ab3a92fc561 100644 (file)
@@ -6,7 +6,6 @@ m4/semaphore.m4
 
 Depends-on:
 thrd
-lock
 stdint
 random
 
index 4c9f22a3c4917a0ae6660415b5635853c323b68c..da19c4573fcffcb1e7272d079a42d41548652872 100644 (file)
@@ -50,8 +50,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "glthread/lock.h"
-
 #if HAVE_DECL_ALARM
 # include <signal.h>
 # include <unistd.h>