* modules/count-leading-zeros: * modules/count-one-bits: * modules/count-trailing-zeros: Now obsolete, as the stdbit module is now mature enough. --- ChangeLog | 6 ++++++ NEWS | 6 ++++++ modules/count-leading-zeros | 6 ++++++ modules/count-one-bits | 6 ++++++ modules/count-trailing-zeros | 6 ++++++ 5 files changed, 30 insertions(+)
diff --git a/ChangeLog b/ChangeLog index 916981ff2f..caf481e794 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2026-03-14 Paul Eggert <[email protected]> + stdbit: obsolete older count-* modules + * modules/count-leading-zeros: + * modules/count-one-bits: + * modules/count-trailing-zeros: Now obsolete, + as the stdbit module is now mature enough. + stdbit-h: avoid <byteswap.h> namespace pollution * lib/stdbit.in.h (_GL_STDBIT_HAS_BUILTIN_BSWAP16) (_GL_STDBIT_HAS_BUILTIN_BSWAP32, _GL_STDBIT_HAS_BUILTIN_BSWAP64) diff --git a/NEWS b/NEWS index 10790f391b..13e4d3d002 100644 --- a/NEWS +++ b/NEWS @@ -78,6 +78,12 @@ User visible incompatible changes Date Modules Changes +2026-03-14 count-leading-zeros + count-one-bits + count-trailing-zeros + These modules are now obsolete. + Use the stdbit module instead. + 2026-02-21 streq This module is renamed to 'streq-opt'. Its include file is renamed from "streq.h" to "streq-opt.h". diff --git a/modules/count-leading-zeros b/modules/count-leading-zeros index 09a910d862..447a300906 100644 --- a/modules/count-leading-zeros +++ b/modules/count-leading-zeros @@ -1,6 +1,12 @@ Description: Counts the number of leading 0-bits in a word. +Status: +obsolete + +Notice: +This module is obsolete; use the stdbit module instead. + Files: lib/count-leading-zeros.c lib/count-leading-zeros.h diff --git a/modules/count-one-bits b/modules/count-one-bits index ddceacda4b..d517a29c0c 100644 --- a/modules/count-one-bits +++ b/modules/count-one-bits @@ -1,6 +1,12 @@ Description: Counts the number of 1-bits in a word. +Status: +obsolete + +Notice: +This module is obsolete; use the stdbit module instead. + Files: lib/count-one-bits.c lib/count-one-bits.h diff --git a/modules/count-trailing-zeros b/modules/count-trailing-zeros index daf24a05a8..64a2210618 100644 --- a/modules/count-trailing-zeros +++ b/modules/count-trailing-zeros @@ -1,6 +1,12 @@ Description: Counts the number of trailing 0-bits in a word. +Status: +obsolete + +Notice: +This module is obsolete; use the stdbit module instead. + Files: lib/count-trailing-zeros.c lib/count-trailing-zeros.h -- 2.51.0
