* lib/strsignal.c: Include glthread/once.h instead of glthread/lock.h.
* modules/strsignal (Depends-on): Add once. Remove lock.
+2024-08-04 Bruno Haible <bruno@clisp.org>
+
+ strsignal: Reduce dependencies.
+ * lib/strsignal.c: Include glthread/once.h instead of glthread/lock.h.
+ * modules/strsignal (Depends-on): Add once. Remove lock.
+
2024-08-04 Bruno Haible <bruno@clisp.org>
immutable: Clarify dependencies.
#ifdef _LIBC
# include <bits/libc-lock.h>
#else /* !_LIBC */
-# include "glthread/lock.h"
+# include "glthread/once.h"
# include "glthread/tls.h"
# define __libc_once_define(CLASS, NAME) gl_once_define (CLASS, NAME)
# define __libc_once(NAME, INIT) gl_once ((NAME), (INIT))
string
extensions
gettext-h [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
-lock [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
+once [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
tls [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
snprintf [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
memset [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]