From: Bruno Haible Date: Sun, 4 Aug 2024 21:55:50 +0000 (+0200) Subject: fstrcmp: Reduce dependencies. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=7d793b8a35acc72f188074715cfc5ab553c3477e;p=gnulib.git fstrcmp: Reduce dependencies. * lib/fstrcmp.c: Include glthread/once.h instead of glthread/lock.h. * modules/fstrcmp (Depends-on): Add once. Remove lock. --- diff --git a/ChangeLog b/ChangeLog index 4504ece595..50b09cc366 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-08-04 Bruno Haible + + fstrcmp: Reduce dependencies. + * lib/fstrcmp.c: Include glthread/once.h instead of glthread/lock.h. + * modules/fstrcmp (Depends-on): Add once. Remove lock. + 2024-08-04 Bruno Haible lock-tests: Clarify dependencies. diff --git a/lib/fstrcmp.c b/lib/fstrcmp.c index 7bae23739e..0347530892 100644 --- a/lib/fstrcmp.c +++ b/lib/fstrcmp.c @@ -28,7 +28,7 @@ #include #include -#include "glthread/lock.h" +#include "glthread/once.h" #include "glthread/tls.h" #include "minmax.h" #include "xalloc.h" diff --git a/modules/fstrcmp b/modules/fstrcmp index 03804c942d..4713c79ac1 100644 --- a/modules/fstrcmp +++ b/modules/fstrcmp @@ -8,7 +8,7 @@ lib/fstrcmp.c Depends-on: c99 diffseq -lock +once tls minmax stdint